mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 21:03:16 +01:00
Lots of fixes, notion of pager hierarchy, fixed tgroup capability checking
Notion of pager hierarchy introduced using the existing but unused pagerid field. Thread creation now has two more flags TC_AS_PAGER and TC_SHARE_PAGER. The former sets creator as pager, the latter sets creator's pager as pager. Thread group capability sharing now correctly carries shared capabilities to the thread group leader's tgr_cap_list list, and this list is checked during capability checking.
This commit is contained in:
@@ -14,5 +14,6 @@
|
||||
#define CAP_SHARE_SPACE 1
|
||||
#define CAP_SHARE_CONTAINER 2
|
||||
#define CAP_SHARE_GROUP 4
|
||||
#define CAP_SHARE_PAGED 8 /* All that we are pager of */
|
||||
|
||||
#endif /* __API_CAPABILITY_H__ */
|
||||
|
||||
Reference in New Issue
Block a user