summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-12 10:07:42 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-12 10:07:42 +0100
commit0d961ece94db4be1b0621577c4af48ba88caff63 (patch)
tree0e77bbdb433b18cc45ab0bd685fb7b974cd42d1a /Applications/SystemMonitor
parent1b9f4c7c406b62d8816430f68cd8903418a540cd (diff)
downloadserenity-0d961ece94db4be1b0621577c4af48ba88caff63.zip
SystemMonitor: Add "proc" pledge so we can send signals to processes
Diffstat (limited to 'Applications/SystemMonitor')
-rw-r--r--Applications/SystemMonitor/main.cpp4
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;
}