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:
Bahadir Balban
2009-10-22 14:04:25 +03:00
parent c6bdd65e48
commit 0f9ea9674c
14 changed files with 298 additions and 47 deletions

View File

@@ -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__ */