mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Progress on capabilities
Capabilities will be shared among collection of threads. A pager will have a right to share its own capabilities with its space, its thread group and its container. Currently sharing is possible with only all of the caps. Next, it will be support for cap splitting, granting, and partial sharing and granting.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
/* Capability syscall request types */
|
||||
#define CAP_CONTROL_NCAPS 0
|
||||
#define CAP_CONTROL_READ_CAPS 1
|
||||
#define CAP_CONTROL_READ 1
|
||||
#define CAP_CONTROL_SHARE 2
|
||||
|
||||
#define CAP_SHARE_WITH_SPACE 1
|
||||
#define CAP_SHARE_WITH_CONTAINER 2
|
||||
#define CAP_SHARE_WITH_TGROUP 4
|
||||
|
||||
#endif /* __API_CAPABILITY_H__ */
|
||||
|
||||
Reference in New Issue
Block a user