diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-11-21 22:55:20 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-23 18:37:40 +0100 |
commit | 098070b767db2d74595829040d8ef55bb3b81bd5 (patch) | |
tree | 3b1bbda527a0afa75401f850adcef403a17f250b /Kernel/Process.h | |
parent | 23dc3ff0c2dc703f2d0649177cf30ab2b8b1e57d (diff) | |
download | serenity-098070b767db2d74595829040d8ef55bb3b81bd5.zip |
Kernel: Add unveil('b')
This is a new "browse" permission that lets you open (and subsequently list
contents of) directories underneath the path, but not regular files or any other
types of files.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index f62671fd74..1700047d2c 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -101,6 +101,7 @@ struct UnveiledPath { Write = 2, Execute = 4, CreateOrRemove = 8, + Browse = 16, }; String path; |