[kernel] Add event syscalls

The event object was missing any syscalls. Furthermore, kobject had an
old object_signal implementation (the syscall itself no longer exists),
which was removed. User code should only be able to set signals on
events.
This commit is contained in:
Justin C. Miller
2022-01-30 20:56:44 -08:00
parent 343622d4e5
commit 5dfc6ae62e
5 changed files with 63 additions and 72 deletions

View File

@@ -1,4 +1,20 @@
object event : object {
uid f441e03da5516b1a
capabilities [
signal
]
method create [constructor]
# Assert signals on the event from the given bitset
method signal [cap:signal] {
param signals uint64
}
# De-assert signals on the event from the given bitset
method clear [cap:signal] {
param mask uint64
}
}