diff options
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/2048/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Breakout/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Chess/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/FlappyBug/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/GameOfLife/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Hearts/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Games/Minesweeper/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Pong/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Snake/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Solitaire/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Games/Spider/main.cpp | 4 |
11 files changed, 21 insertions, 21 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index cec1d5a07a..5c6c482b27 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); srand(time(nullptr)); @@ -37,7 +37,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) Config::pledge_domains("2048"); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Breakout/main.cpp b/Userland/Games/Breakout/main.cpp index 8cd361aa88..943c04428d 100644 --- a/Userland/Games/Breakout/main.cpp +++ b/Userland/Games/Breakout/main.cpp @@ -16,11 +16,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath unix", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); - TRY(Core::System::pledge("stdio recvfd sendfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index a3c2709643..8e9d64e9b3 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -21,13 +21,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec unix", nullptr)); + TRY(Core::System::pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec unix")); auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domains("Chess"); - TRY(Core::System::pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec", nullptr)); + TRY(Core::System::pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec")); auto app_icon = GUI::Icon::default_icon("app-chess"); diff --git a/Userland/Games/FlappyBug/main.cpp b/Userland/Games/FlappyBug/main.cpp index 4a6e9879b1..8526548081 100644 --- a/Userland/Games/FlappyBug/main.cpp +++ b/Userland/Games/FlappyBug/main.cpp @@ -17,13 +17,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domains("FlappyBug"); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp index ad249f201d..ce3c178b15 100644 --- a/Userland/Games/GameOfLife/main.cpp +++ b/Userland/Games/GameOfLife/main.cpp @@ -25,11 +25,11 @@ const char* click_tip = "Tip: click the board to toggle individual cells, or cli ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); auto app = TRY(GUI::Application::try_create(arguments)); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Hearts/main.cpp b/Userland/Games/Hearts/main.cpp index 56b2467e70..87ad5f2ddd 100644 --- a/Userland/Games/Hearts/main.cpp +++ b/Userland/Games/Hearts/main.cpp @@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) Config::pledge_domains("Hearts"); - TRY(Core::System::pledge("stdio recvfd sendfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Minesweeper/main.cpp b/Userland/Games/Minesweeper/main.cpp index a88aed14c0..29f5c45f65 100644 --- a/Userland/Games/Minesweeper/main.cpp +++ b/Userland/Games/Minesweeper/main.cpp @@ -24,13 +24,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domains("Minesweeper"); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Pong/main.cpp b/Userland/Games/Pong/main.cpp index e0d1dab144..7acefde12b 100644 --- a/Userland/Games/Pong/main.cpp +++ b/Userland/Games/Pong/main.cpp @@ -16,11 +16,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); auto app = TRY(GUI::Application::try_create(arguments)); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Snake/main.cpp b/Userland/Games/Snake/main.cpp index 48f8328651..118e288ebf 100644 --- a/Userland/Games/Snake/main.cpp +++ b/Userland/Games/Snake/main.cpp @@ -20,13 +20,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domains("Snake"); - TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr)); + TRY(Core::System::pledge("stdio rpath recvfd sendfd")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Solitaire/main.cpp b/Userland/Games/Solitaire/main.cpp index 03ce534e91..5cd25e4961 100644 --- a/Userland/Games/Solitaire/main.cpp +++ b/Userland/Games/Solitaire/main.cpp @@ -24,14 +24,14 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath unix", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); auto app_icon = GUI::Icon::default_icon("app-solitaire"); Config::pledge_domains("Solitaire"); - TRY(Core::System::pledge("stdio recvfd sendfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Games/Spider/main.cpp b/Userland/Games/Spider/main.cpp index 6246bbef1b..94d9cf6300 100644 --- a/Userland/Games/Spider/main.cpp +++ b/Userland/Games/Spider/main.cpp @@ -39,14 +39,14 @@ static String format_seconds(uint64_t seconds_elapsed) ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath unix", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); auto app_icon = GUI::Icon::default_icon("app-spider"); Config::pledge_domains("Spider"); - TRY(Core::System::pledge("stdio recvfd sendfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); |