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

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