1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

CrashReporter: Remove redundant pledge()

This commit is contained in:
bugreport0 2021-12-11 16:07:53 +01:00 committed by Andreas Kling
parent 7a206868f8
commit 1a2ff38609

View file

@ -218,8 +218,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
termination_signal = coredump->process_termination_signal();
}
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix cpath proc exec"));
TRY(Core::System::unveil(executable_path.characters(), "r"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/tmp/portal/launch", "rw"));