1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +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

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