From 0d961ece94db4be1b0621577c4af48ba88caff63 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Jan 2020 10:07:42 +0100 Subject: [PATCH] SystemMonitor: Add "proc" pledge so we can send signals to processes --- Applications/SystemMonitor/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp index 8ea6492273..303137399c 100644 --- a/Applications/SystemMonitor/main.cpp +++ b/Applications/SystemMonitor/main.cpp @@ -49,14 +49,14 @@ static NonnullRefPtr build_graphs_tab(); int main(int argc, char** argv) { - if (pledge("stdio shared_buffer rpath unix cpath fattr", nullptr) < 0) { + if (pledge("stdio proc shared_buffer rpath unix cpath fattr", nullptr) < 0) { perror("pledge"); return 1; } GApplication app(argc, argv); - if (pledge("stdio shared_buffer rpath unix", nullptr) < 0) { + if (pledge("stdio proc shared_buffer rpath unix", nullptr) < 0) { perror("pledge"); return 1; }