summaryrefslogtreecommitdiff
path: root/Servers/SystemServer
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-11 23:19:30 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-11 23:28:41 +0100
commitf187374c1bb9704f683f79cc21a388024d7521c4 (patch)
tree00232474a580d72b6584f1ffb28be90dae4d6631 /Servers/SystemServer
parentb39e732eb321377d6c19a209a1787c7f97f9a7e5 (diff)
downloadserenity-f187374c1bb9704f683f79cc21a388024d7521c4.zip
Kernel: fork()ed children should inherit pledge promises :^)
Update various places that now need wider promises as they are not reset by fork() anymore.
Diffstat (limited to 'Servers/SystemServer')
-rw-r--r--Servers/SystemServer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/SystemServer/main.cpp b/Servers/SystemServer/main.cpp
index a5f69a3fe5..a9599486bf 100644
--- a/Servers/SystemServer/main.cpp
+++ b/Servers/SystemServer/main.cpp
@@ -77,7 +77,7 @@ static void mount_all_filesystems()
int main(int, char**)
{
- if (pledge("stdio proc exec unix rpath cpath chown fattr id", nullptr) < 0) {
+ if (pledge("stdio proc exec unix rpath wpath cpath chown fattr id", nullptr) < 0) {
perror("pledge");
return 1;
}