summaryrefslogtreecommitdiff
path: root/Userland/Games/Pong
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-15 12:14:42 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-15 14:10:32 +0100
commit20915795a8497192132680aaff6a9009e59a4cf2 (patch)
treeccd57710410b13779e5e058507bcce604ee6f650 /Userland/Games/Pong
parent0b0514d46bddf56052ca5a892d3a4b20aa8249c1 (diff)
downloadserenity-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/Games/Pong')
-rw-r--r--Userland/Games/Pong/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Pong/main.cpp b/Userland/Games/Pong/main.cpp
index f4b7c235f1..b6ea55ed69 100644
--- a/Userland/Games/Pong/main.cpp
+++ b/Userland/Games/Pong/main.cpp
@@ -35,14 +35,14 @@
int main(int argc, char** argv)
{
- if (pledge("stdio rpath wpath cpath shared_buffer accept cpath unix fattr", nullptr) < 0) {
+ if (pledge("stdio rpath wpath cpath sendfd shared_buffer accept cpath unix fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
- if (pledge("stdio rpath wpath cpath shared_buffer accept", nullptr) < 0) {
+ if (pledge("stdio rpath wpath cpath sendfd shared_buffer accept", nullptr) < 0) {
perror("pledge");
return 1;
}