diff options
author | Liav A <liavalb@gmail.com> | 2023-01-13 01:02:26 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-13 13:41:30 +0100 |
commit | e241b47fee775ad9be40c8a219c4ee083ed32947 (patch) | |
tree | 74541e1dfe6779fd7e5f7364d45243303379cf89 /Userland/Utilities | |
parent | 16b6e644d745c2171cdcafb057e42380da258575 (diff) | |
download | serenity-e241b47fee775ad9be40c8a219c4ee083ed32947.zip |
Userland: Remove a bunch of unveil calls on /sys/kernel/processes
These are not needed anymore since the introduction of the new
get_root_session_id syscall.
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/aplay.cpp | 1 | ||||
-rw-r--r-- | Userland/Utilities/logout.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Utilities/aplay.cpp b/Userland/Utilities/aplay.cpp index 7df08b2f45..18d693de42 100644 --- a/Userland/Utilities/aplay.cpp +++ b/Userland/Utilities/aplay.cpp @@ -35,7 +35,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) args_parser.add_option(show_sample_progress, "Show playback progress in samples", "sample-progress", 's'); args_parser.parse(arguments); - TRY(Core::System::unveil("/sys/kernel/processes", "r")); TRY(Core::System::unveil("/tmp/session/%sid/portal/audio", "rw")); TRY(Core::System::unveil(Core::File::absolute_path(path), "r"sv)); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Utilities/logout.cpp b/Userland/Utilities/logout.cpp index 59bd1e3c57..15d1d5dcde 100644 --- a/Userland/Utilities/logout.cpp +++ b/Userland/Utilities/logout.cpp @@ -12,7 +12,6 @@ ErrorOr<int> serenity_main(Main::Arguments) { TRY(Core::System::pledge("stdio proc rpath")); - TRY(Core::System::unveil("/sys/kernel/processes", "r")); TRY(Core::System::unveil("/etc/passwd", "r")); TRY(Core::System::unveil(nullptr, nullptr)); |