From d2f2714398d415eb9a628aab82b332b92ad5c923 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 20 Sep 2022 15:38:06 +0300 Subject: add capability subsystem and syscalls --- include/apos/syscalls.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/apos/syscalls.h') 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, /** @} */ -- cgit v1.3