summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-12 11:59:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-12 12:03:57 +0100
commitf813bb52a28cfb42dcf73015e3ca659658c7d4d6 (patch)
treece8424de020d7395d7ad0ed5d70f5a8c1f81da4a /Applications/SystemMonitor
parent114a770c6fb5fb9a269b3b662375e0811dfd37e9 (diff)
downloadserenity-f813bb52a28cfb42dcf73015e3ca659658c7d4d6.zip
Applications+DevTools+MenuApplets: Drop "unix" pledge when possible
Now that the "unix" pledge is no longer required for socket I/O, we can drop it after making the connections we need in a program. In most GUI program cases, once we've connected to the WindowServer by instantiating a GApplication, we no longer need "unix" :^)
Diffstat (limited to 'Applications/SystemMonitor')
-rw-r--r--Applications/SystemMonitor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp
index 303137399c..e9fab809a5 100644
--- a/Applications/SystemMonitor/main.cpp
+++ b/Applications/SystemMonitor/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char** argv)
GApplication app(argc, argv);
- if (pledge("stdio proc shared_buffer rpath unix", nullptr) < 0) {
+ if (pledge("stdio proc shared_buffer rpath", nullptr) < 0) {
perror("pledge");
return 1;
}