1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:28: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

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