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