diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-12 11:59:11 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-12 12:03:57 +0100 |
commit | f813bb52a28cfb42dcf73015e3ca659658c7d4d6 (patch) | |
tree | ce8424de020d7395d7ad0ed5d70f5a8c1f81da4a /Applications/Help/main.cpp | |
parent | 114a770c6fb5fb9a269b3b662375e0811dfd37e9 (diff) | |
download | serenity-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/Help/main.cpp')
-rw-r--r-- | Applications/Help/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Help/main.cpp b/Applications/Help/main.cpp index 4ffe0cf86e..19b31a517c 100644 --- a/Applications/Help/main.cpp +++ b/Applications/Help/main.cpp @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) GApplication app(argc, argv); - if (pledge("stdio unix shared_buffer rpath", nullptr) < 0) { + if (pledge("stdio shared_buffer rpath", nullptr) < 0) { perror("pledge"); return 1; } |