From 041007e9f6543b26b8baa36f1379a5b38c6dd0de Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Fri, 27 Aug 2021 15:38:32 +0100 Subject: [PATCH] 2048: Remove wpath and cpath pledges With the move to LibConfig, these are no longer needed. --- Userland/Games/2048/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index e3fa8d02cd..4565fc5c44 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -25,7 +25,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; } @@ -39,7 +39,7 @@ int main(int argc, char** argv) Config::pledge_domains("2048"); - if (pledge("stdio rpath recvfd sendfd wpath cpath", nullptr) < 0) { + if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) { perror("pledge"); return 1; }