From 5d9ea2c787705964319bdd734560ab2c1181e696 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 7 Jul 2020 06:57:57 -0600 Subject: [PATCH] Shell: Pledge sigaction The shell is wiring up signal handlers, and when they get torn down by Core::EventLoop, they are reset, which requires sigaction. --- Shell/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shell/main.cpp b/Shell/main.cpp index 110238881e..b26ae28092 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -121,7 +121,7 @@ int main(int argc, char** argv) pthread_sigmask(SIG_BLOCK, &blocked, NULL); #endif #ifdef __serenity__ - if (pledge("stdio rpath wpath cpath proc exec tty accept", nullptr) < 0) { + if (pledge("stdio rpath wpath cpath proc exec tty accept sigaction", nullptr) < 0) { perror("pledge"); return 1; }