summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess
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/Chess
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/Chess')
-rw-r--r--Userland/Games/Chess/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp
index 213d5a8a4f..40bb75b21c 100644
--- a/Userland/Games/Chess/main.cpp
+++ b/Userland/Games/Chess/main.cpp
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
RefPtr<Core::ConfigFile> config = Core::ConfigFile::get_for_app("Chess");
- if (pledge("stdio rpath accept wpath cpath shared_buffer proc exec", nullptr) < 0) {
+ if (pledge("stdio rpath accept wpath cpath sendfd shared_buffer proc exec", nullptr) < 0) {
perror("pledge");
return 1;
}