diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-15 12:14:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 14:10:32 +0100 |
commit | 20915795a8497192132680aaff6a9009e59a4cf2 (patch) | |
tree | ccd57710410b13779e5e058507bcce604ee6f650 /Userland/Services/NotificationServer/main.cpp | |
parent | 0b0514d46bddf56052ca5a892d3a4b20aa8249c1 (diff) | |
download | serenity-20915795a8497192132680aaff6a9009e59a4cf2.zip |
Everywhere: Pledge "sendfd" in WindowServer client programs
This is needed for the new way we transfer window backing stores.
Diffstat (limited to 'Userland/Services/NotificationServer/main.cpp')
-rw-r--r-- | Userland/Services/NotificationServer/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/NotificationServer/main.cpp b/Userland/Services/NotificationServer/main.cpp index 91cd06e0d7..7661c3ba8e 100644 --- a/Userland/Services/NotificationServer/main.cpp +++ b/Userland/Services/NotificationServer/main.cpp @@ -35,7 +35,7 @@ int main(int argc, char** argv) { - if (pledge("stdio shared_buffer accept rpath wpath cpath unix fattr", nullptr) < 0) { + if (pledge("stdio sendfd shared_buffer accept rpath wpath cpath unix fattr", nullptr) < 0) { perror("pledge"); return 1; } @@ -63,7 +63,7 @@ int main(int argc, char** argv) unveil(nullptr, nullptr); - if (pledge("stdio shared_buffer accept rpath", nullptr) < 0) { + if (pledge("stdio sendfd shared_buffer accept rpath", nullptr) < 0) { perror("pledge"); return 1; } |