mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Substantially fixed cap_split() behaviour.
Need to fix ipc flags capability checking yet.
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
#define CAP_GRANT_ALL 0x00000002
|
||||
#define CAP_GRANT_IMMUTABLE 0x00000004
|
||||
|
||||
#define CAP_SPLIT_MASK 0x0000000F
|
||||
#define CAP_SPLIT_SIZE 0x00000001
|
||||
#define CAP_SPLIT_ACCESS 0x00000002
|
||||
#define CAP_SPLIT_RANGE 0x00000003 /* Returns -EPERM */
|
||||
|
||||
/* Task's primary capability list */
|
||||
#define TASK_CAP_LIST(task) \
|
||||
(&((task)->space->cap_list))
|
||||
|
||||
Reference in New Issue
Block a user