Added sharing of pager capabilities with children or siblings

Pagers can now share their own private capabilities with their
paged children, or their siblings with whom they have a common pager
ancestor.

Added flags CAP_SHARE_CHILD and CAP_SHARE_SIBLINGS for that.
This commit is contained in:
Bahadir Balban
2009-10-23 13:50:32 +03:00
parent f4c9ea50bc
commit 6093214981
10 changed files with 73 additions and 23 deletions

View File

@@ -102,9 +102,9 @@ struct ktcb {
struct pager *pager;
/* Capability lists */
struct cap_list cap_list;
struct cap_list tgr_cap_list;
struct cap_list pager_cap_list;
struct cap_list cap_list; /* Own private capabilities */
struct cap_list tgroup_cap_list; /* Caps shared with thread group */
struct cap_list pager_cap_list; /* Caps shared with paged children */
/* Fields for ipc rendezvous */
struct waitqueue_head wqh_recv;