diff options
author | TheMorc <r.gracik@gmail.com> | 2021-01-15 18:07:51 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 18:47:07 +0100 |
commit | b2086c8d7749f6bab881091806fff85fff1f353d (patch) | |
tree | e763a9c08684d6ca8eb9577b65a08a70f046242f /Userland/Demos/CatDog/main.cpp | |
parent | a525d0271c087000dfbf04a8fa5865e826ac7f5e (diff) | |
download | serenity-b2086c8d7749f6bab881091806fff85fff1f353d.zip |
Demos+Games: Pledge "sendfd" in demos and games
Diffstat (limited to 'Userland/Demos/CatDog/main.cpp')
-rw-r--r-- | Userland/Demos/CatDog/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/CatDog/main.cpp b/Userland/Demos/CatDog/main.cpp index 3b7587a65d..282ada7534 100644 --- a/Userland/Demos/CatDog/main.cpp +++ b/Userland/Demos/CatDog/main.cpp @@ -194,7 +194,7 @@ private: int main(int argc, char** argv) { - if (pledge("stdio rpath wpath cpath sendfd shared_buffer accept unix fattr", nullptr) < 0) { + if (pledge("stdio sendfd rpath wpath cpath sendfd shared_buffer accept unix fattr", nullptr) < 0) { perror("pledge"); return 1; } @@ -202,7 +202,7 @@ int main(int argc, char** argv) auto app = GUI::Application::construct(argc, argv); auto app_icon = GUI::Icon::default_icon("app-catdog"); - if (pledge("stdio rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { perror("pledge"); return 1; } |