From efe0a3d41514418a0f88662705e6bf2582d4702d Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Fri, 27 Aug 2021 14:46:35 +0100 Subject: [PATCH] Snake: Remove wpath and cpath pledges With the move to LibConfig, these are no longer needed. --- Userland/Games/Snake/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Games/Snake/main.cpp b/Userland/Games/Snake/main.cpp index fe6e2070c4..1656e15141 100644 --- a/Userland/Games/Snake/main.cpp +++ b/Userland/Games/Snake/main.cpp @@ -19,7 +19,7 @@ int main(int argc, char** argv) { - if (pledge("stdio rpath wpath cpath recvfd sendfd unix", nullptr) < 0) { + if (pledge("stdio rpath recvfd sendfd unix", nullptr) < 0) { perror("pledge"); return 1; } @@ -28,7 +28,7 @@ int main(int argc, char** argv) Config::pledge_domains("Snake"); - if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) { + if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) { perror("pledge"); return 1; }