1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

Minesweeper: Remove wpath and cpath pledges

With the move to LibConfig, these are no longer needed.
This commit is contained in:
Luke Wilde 2021-08-27 14:45:00 +01:00 committed by Ali Mohammad Pur
parent 834be1a895
commit 9d428a65d1

View file

@ -21,7 +21,7 @@
int main(int argc, char** argv) 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"); perror("pledge");
return 1; return 1;
} }
@ -30,7 +30,7 @@ int main(int argc, char** argv)
Config::pledge_domains("Minesweeper"); Config::pledge_domains("Minesweeper");
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) { if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
perror("pledge"); perror("pledge");
return 1; return 1;
} }