diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-12 10:07:42 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-12 10:07:42 +0100 |
commit | 0d961ece94db4be1b0621577c4af48ba88caff63 (patch) | |
tree | 0e77bbdb433b18cc45ab0bd685fb7b974cd42d1a /Applications | |
parent | 1b9f4c7c406b62d8816430f68cd8903418a540cd (diff) | |
download | serenity-0d961ece94db4be1b0621577c4af48ba88caff63.zip |
SystemMonitor: Add "proc" pledge so we can send signals to processes
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/SystemMonitor/main.cpp | 4 |
1 files 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<GWidget> 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; } |