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/Applications/TextEditor | |
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/Applications/TextEditor')
-rw-r--r-- | Userland/Applications/TextEditor/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp index 08034792fe..178e3848b3 100644 --- a/Userland/Applications/TextEditor/main.cpp +++ b/Userland/Applications/TextEditor/main.cpp @@ -31,7 +31,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) parser.add_positional_argument(file_to_edit, "File to edit, with optional starting line and column number", "file[:line[:column]]", Core::ArgsParser::Required::No); parser.parse(arguments); - TRY(Core::System::unveil("/sys/kernel/processes", "r")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw")); TRY(Core::System::unveil("/tmp/session/%sid/portal/webcontent", "rw")); |