summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-13 23:20:26 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-13 23:28:40 +0200
commit31d4bcf5bfe35a892c6ec04cc9e8d4417b990a48 (patch)
treefaae01cc0950a4d1de1eb7932f07b799c558f0fd /Userland/Games/Chess
parent04d78adaf795c803f6867335c63f8339f13459eb (diff)
downloadserenity-31d4bcf5bfe35a892c6ec04cc9e8d4417b990a48.zip
Userland: Tighten a *lot* of pledges! :^)
Since applications using Core::EventLoop no longer need to create a socket in /tmp/rpc/, and also don't need to listen for incoming connections on this socket, we can remove a whole bunch of pledges!
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 5420495808..ada369fb99 100644
--- a/Userland/Games/Chess/main.cpp
+++ b/Userland/Games/Chess/main.cpp
@@ -28,7 +28,7 @@ int main(int argc, char** argv)
RefPtr<Core::ConfigFile> config = Core::ConfigFile::get_for_app("Chess");
- if (pledge("stdio rpath accept wpath cpath recvfd sendfd thread proc exec", nullptr) < 0) {
+ if (pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec", nullptr) < 0) {
perror("pledge");
return 1;
}