diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-09-20 15:38:06 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-09-20 15:38:06 +0300 |
| commit | d2f2714398d415eb9a628aab82b332b92ad5c923 (patch) | |
| tree | ce6844c3f6f446b3acefffbd294dfecd3eb8dc98 /include/apos/syscalls.h | |
| parent | a717296a2036cede5fccfff544513043a984d614 (diff) | |
| download | kmi-d2f2714398d415eb9a628aab82b332b92ad5c923.tar.gz kmi-d2f2714398d415eb9a628aab82b332b92ad5c923.zip | |
add capability subsystem and syscalls
Diffstat (limited to 'include/apos/syscalls.h')
| -rw-r--r-- | include/apos/syscalls.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h index 229e17e..0a6f0c7 100644 --- a/include/apos/syscalls.h +++ b/include/apos/syscalls.h @@ -108,6 +108,15 @@ enum { /** Get system parameters. */ SYS_CONF_GET, + /** Set capability of thread. */ + SYS_SET_CAP, + + /** Get capabilities of thread. */ + SYS_GET_CAP, + + /** Clear capability of thread. */ + SYS_CLEAR_CAP, + /** Shutdown, reboot, etc. */ SYS_POWEROFF, /** @} */ |
