summaryrefslogtreecommitdiff
path: root/Kernel/UnveilNode.h
AgeCommit message (Collapse)Author
2020-12-26Kernel: Allow 'elevating' unveil permissions if implicitly inherited from '/'AnotherTest
This can happen when an unveil follows another with a path that is a sub-path of the other one: ```c++ unveil("/home/anon/.config/whoa.ini", "rw"); unveil("/home/anon", "r"); // this would fail, as "/home/anon" inherits // the permissions of "/", which is None. ```
2020-12-26Kernel: Implement unveil() as a prefix-treeAnotherTest
Fixes #4530.