diff options
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/CatDog/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Demos/Cube/Cube.cpp | 2 | ||||
-rw-r--r-- | Userland/Demos/Eyes/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Demos/Fire/Fire.cpp | 2 | ||||
-rw-r--r-- | Userland/Demos/LibGfxDemo/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Demos/LibGfxScaleDemo/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Demos/Mouse/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Demos/Screensaver/Screensaver.cpp | 4 | ||||
-rw-r--r-- | Userland/Demos/WidgetGallery/main.cpp | 2 |
9 files changed, 12 insertions, 12 deletions
diff --git a/Userland/Demos/CatDog/main.cpp b/Userland/Demos/CatDog/main.cpp index 282ada7534..e93b258388 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 sendfd rpath wpath cpath sendfd shared_buffer accept unix fattr", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath wpath cpath 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 sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/Cube/Cube.cpp b/Userland/Demos/Cube/Cube.cpp index e40d21bd31..ef1c5dfd6d 100644 --- a/Userland/Demos/Cube/Cube.cpp +++ b/Userland/Demos/Cube/Cube.cpp @@ -193,7 +193,7 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/Eyes/main.cpp b/Userland/Demos/Eyes/main.cpp index e71f5620b3..3db722a882 100644 --- a/Userland/Demos/Eyes/main.cpp +++ b/Userland/Demos/Eyes/main.cpp @@ -49,14 +49,14 @@ int main(int argc, char* argv[]) args_parser.add_option(grid_columns, "Number of columns in grid (incompatible with --number)", "grid-cols", 'c', "number"); args_parser.parse(argc, argv); - if (pledge("stdio sendfd shared_buffer accept rpath unix cpath wpath fattr thread", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept rpath unix cpath wpath fattr thread", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd shared_buffer accept rpath cpath wpath thread", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept rpath cpath wpath thread", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/Fire/Fire.cpp b/Userland/Demos/Fire/Fire.cpp index 3f1d2c1b63..03986dea01 100644 --- a/Userland/Demos/Fire/Fire.cpp +++ b/Userland/Demos/Fire/Fire.cpp @@ -216,7 +216,7 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/LibGfxDemo/main.cpp b/Userland/Demos/LibGfxDemo/main.cpp index ef8f069312..f573318269 100644 --- a/Userland/Demos/LibGfxDemo/main.cpp +++ b/Userland/Demos/LibGfxDemo/main.cpp @@ -200,7 +200,7 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/LibGfxScaleDemo/main.cpp b/Userland/Demos/LibGfxScaleDemo/main.cpp index 264929009b..0a8ff72975 100644 --- a/Userland/Demos/LibGfxScaleDemo/main.cpp +++ b/Userland/Demos/LibGfxScaleDemo/main.cpp @@ -96,7 +96,7 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/Mouse/main.cpp b/Userland/Demos/Mouse/main.cpp index 352f394fc4..6cd3d20289 100644 --- a/Userland/Demos/Mouse/main.cpp +++ b/Userland/Demos/Mouse/main.cpp @@ -174,7 +174,7 @@ int main(int argc, char** argv) auto app = GUI::Application::construct(argc, argv); auto app_icon = GUI::Icon::default_icon("app-mouse"); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/Screensaver/Screensaver.cpp b/Userland/Demos/Screensaver/Screensaver.cpp index 026d5a12cf..889106f8d7 100644 --- a/Userland/Demos/Screensaver/Screensaver.cpp +++ b/Userland/Demos/Screensaver/Screensaver.cpp @@ -124,14 +124,14 @@ void Screensaver::draw() int main(int argc, char** argv) { - if (pledge("stdio rpath wpath cpath sendfd shared_buffer cpath unix fattr", nullptr) < 0) { + if (pledge("stdio rpath wpath cpath recvfd sendfd cpath unix fattr", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio rpath sendfd shared_buffer", nullptr) < 0) { + if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp index b331bcc970..f1d8c77563 100644 --- a/Userland/Demos/WidgetGallery/main.cpp +++ b/Userland/Demos/WidgetGallery/main.cpp @@ -86,7 +86,7 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio sendfd rpath shared_buffer", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { perror("pledge"); return 1; } |