From 1a2ff3860955c900084767ed51e43e49dabaf6e9 Mon Sep 17 00:00:00 2001 From: bugreport0 <32939607+bugreport0@users.noreply.github.com> Date: Sat, 11 Dec 2021 16:07:53 +0100 Subject: [PATCH] CrashReporter: Remove redundant pledge() --- Userland/Applications/CrashReporter/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Applications/CrashReporter/main.cpp b/Userland/Applications/CrashReporter/main.cpp index faa96ab561..a2dcc7dfbe 100644 --- a/Userland/Applications/CrashReporter/main.cpp +++ b/Userland/Applications/CrashReporter/main.cpp @@ -218,8 +218,6 @@ ErrorOr 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"));