diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-08-27 15:38:32 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-08-28 12:22:16 +0430 |
commit | 041007e9f6543b26b8baa36f1379a5b38c6dd0de (patch) | |
tree | bc6ba38b72074aa1c87585e019c8af2c7bc94bbc /Userland/Games/2048 | |
parent | c0c33a4604f9155b2c464da70f336c4fed1e5dc3 (diff) | |
download | serenity-041007e9f6543b26b8baa36f1379a5b38c6dd0de.zip |
2048: Remove wpath and cpath pledges
With the move to LibConfig, these are no longer needed.
Diffstat (limited to 'Userland/Games/2048')
-rw-r--r-- | Userland/Games/2048/main.cpp | 4 |
1 files 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; } |