1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:38:12 +00:00

Everywhere: Remove a bunch of now-unnecessary shared_buffer pledges

This commit is contained in:
Andreas Kling 2021-01-17 08:18:11 +01:00
parent b42f0b9650
commit cc8b3c92ba
7 changed files with 13 additions and 13 deletions

View file

@ -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;
}