diff options
-rw-r--r-- | Userland/Applications/Browser/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Applications/Help/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Applications/TextEditor/main.cpp | 4 | ||||
-rw-r--r-- | Userland/DevTools/HackStudio/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Services/ImageDecoder/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Services/ProtocolServer/main.cpp | 4 | ||||
-rw-r--r-- | Userland/Services/WebContent/main.cpp | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/Userland/Applications/Browser/main.cpp b/Userland/Applications/Browser/main.cpp index 52fa116bcc..694e25354b 100644 --- a/Userland/Applications/Browser/main.cpp +++ b/Userland/Applications/Browser/main.cpp @@ -70,7 +70,7 @@ int main(int argc, char** argv) return 1; } - if (pledge("stdio shared_buffer recvfd sendfd accept unix cpath rpath wpath fattr", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept unix cpath rpath wpath fattr", nullptr) < 0) { perror("pledge"); return 1; } @@ -96,7 +96,7 @@ int main(int argc, char** argv) return 1; } - if (pledge("stdio shared_buffer recvfd sendfd accept unix cpath rpath wpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept unix cpath rpath wpath", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index cd84af840b..f6bf6adc75 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -53,14 +53,14 @@ int main(int argc, char* argv[]) { - if (pledge("stdio shared_buffer recvfd sendfd accept rpath unix cpath fattr", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept rpath unix cpath fattr", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio shared_buffer recvfd sendfd accept rpath unix", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept rpath unix", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp index dafc4847a5..8d887f9896 100644 --- a/Userland/Applications/TextEditor/main.cpp +++ b/Userland/Applications/TextEditor/main.cpp @@ -31,14 +31,14 @@ int main(int argc, char** argv) { - if (pledge("stdio shared_buffer recvfd sendfd thread rpath accept cpath wpath unix fattr", nullptr) < 0) { + if (pledge("stdio recvfd sendfd thread rpath accept cpath wpath unix fattr", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio shared_buffer recvfd sendfd thread rpath accept cpath wpath unix", nullptr) < 0) { + if (pledge("stdio recvfd sendfd thread rpath accept cpath wpath unix", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp index dcb5766f3b..92d8796e64 100644 --- a/Userland/DevTools/HackStudio/main.cpp +++ b/Userland/DevTools/HackStudio/main.cpp @@ -57,14 +57,14 @@ static void update_path_environment_variable(); int main(int argc, char** argv) { - if (pledge("stdio shared_buffer recvfd sendfd tty accept rpath cpath wpath proc exec unix fattr thread unix ptrace", nullptr) < 0) { + if (pledge("stdio recvfd sendfd tty accept rpath cpath wpath proc exec unix fattr thread unix ptrace", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio shared_buffer recvfd sendfd tty accept rpath cpath wpath proc exec fattr thread unix ptrace", nullptr) < 0) { + if (pledge("stdio recvfd sendfd tty accept rpath cpath wpath proc exec fattr thread unix ptrace", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Services/ImageDecoder/main.cpp b/Userland/Services/ImageDecoder/main.cpp index 50ccef3948..2e8d8d39c4 100644 --- a/Userland/Services/ImageDecoder/main.cpp +++ b/Userland/Services/ImageDecoder/main.cpp @@ -32,7 +32,7 @@ int main(int, char**) { Core::EventLoop event_loop; - if (pledge("stdio shared_buffer recvfd sendfd unix", nullptr) < 0) { + if (pledge("stdio recvfd sendfd unix", nullptr) < 0) { perror("pledge"); return 1; } @@ -43,7 +43,7 @@ int main(int, char**) auto socket = Core::LocalSocket::take_over_accepted_socket_from_system_server(); IPC::new_client_connection<ImageDecoder::ClientConnection>(socket.release_nonnull(), 1); - if (pledge("stdio shared_buffer recvfd sendfd", nullptr) < 0) { + if (pledge("stdio recvfd sendfd", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Services/ProtocolServer/main.cpp b/Userland/Services/ProtocolServer/main.cpp index 62fc908dd1..5969a23c9e 100644 --- a/Userland/Services/ProtocolServer/main.cpp +++ b/Userland/Services/ProtocolServer/main.cpp @@ -35,7 +35,7 @@ int main(int, char**) { - if (pledge("stdio inet shared_buffer accept unix rpath cpath fattr sendfd recvfd", nullptr) < 0) { + if (pledge("stdio inet accept unix rpath cpath fattr sendfd recvfd", nullptr) < 0) { perror("pledge"); return 1; } @@ -45,7 +45,7 @@ int main(int, char**) Core::EventLoop event_loop; // FIXME: Establish a connection to LookupServer and then drop "unix"? - if (pledge("stdio inet shared_buffer accept unix sendfd recvfd", nullptr) < 0) { + if (pledge("stdio inet accept unix sendfd recvfd", nullptr) < 0) { perror("pledge"); return 1; } diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp index addab4b24f..e6f335e640 100644 --- a/Userland/Services/WebContent/main.cpp +++ b/Userland/Services/WebContent/main.cpp @@ -32,7 +32,7 @@ int main(int, char**) { Core::EventLoop event_loop; - if (pledge("stdio shared_buffer recvfd sendfd accept unix rpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd accept unix rpath", nullptr) < 0) { perror("pledge"); return 1; } |