1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

Demos+Games: Pledge "sendfd" in demos and games

This commit is contained in:
TheMorc 2021-01-15 18:07:51 +01:00 committed by Andreas Kling
parent a525d0271c
commit b2086c8d77
9 changed files with 11 additions and 11 deletions

View file

@ -39,7 +39,7 @@ int main(int argc, char** argv)
auto app = GUI::Application::construct(argc, argv);
auto app_icon = GUI::Icon::default_icon("app-solitaire");
if (pledge("stdio rpath shared_buffer", nullptr) < 0) {
if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) {
perror("pledge");
return 1;
}