diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-28 08:12:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-28 08:54:22 +0100 |
commit | acd4cc97fc26e5307df9dbf86b0fb4823e0cada0 (patch) | |
tree | 3d648a6e18c98e946550be0ea97392b22d122d7b /Userland/Applications/KeyboardSettings/main.cpp | |
parent | 8abc4fa8c222cafe5e80052ce04c5f52a4d1ce6a (diff) | |
download | serenity-acd4cc97fc26e5307df9dbf86b0fb4823e0cada0.zip |
KeyboardSettings: Remove some unnecessary pledge promises
This program doesn't need to create or write files directly.
Diffstat (limited to 'Userland/Applications/KeyboardSettings/main.cpp')
-rw-r--r-- | Userland/Applications/KeyboardSettings/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/KeyboardSettings/main.cpp b/Userland/Applications/KeyboardSettings/main.cpp index 8e1ea89090..037a61e592 100644 --- a/Userland/Applications/KeyboardSettings/main.cpp +++ b/Userland/Applications/KeyboardSettings/main.cpp @@ -17,11 +17,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio rpath cpath wpath recvfd sendfd unix proc exec")); + TRY(Core::System::pledge("stdio rpath recvfd sendfd unix proc exec")); auto app = TRY(GUI::Application::try_create(arguments)); Config::pledge_domains("KeyboardSettings"); - TRY(Core::System::pledge("stdio rpath cpath wpath recvfd sendfd proc exec")); + TRY(Core::System::pledge("stdio rpath recvfd sendfd proc exec")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/bin/keymap", "x")); TRY(Core::System::unveil("/proc/keymap", "r")); |