summaryrefslogtreecommitdiff
path: root/Userland/Applications/Magnifier
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-01-13 01:02:26 +0200
committerAndreas Kling <kling@serenityos.org>2023-01-13 13:41:30 +0100
commite241b47fee775ad9be40c8a219c4ee083ed32947 (patch)
tree74541e1dfe6779fd7e5f7364d45243303379cf89 /Userland/Applications/Magnifier
parent16b6e644d745c2171cdcafb057e42380da258575 (diff)
downloadserenity-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/Magnifier')
-rw-r--r--Userland/Applications/Magnifier/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Applications/Magnifier/main.cpp b/Userland/Applications/Magnifier/main.cpp
index 9178f8373e..b65dbaa53b 100644
--- a/Userland/Applications/Magnifier/main.cpp
+++ b/Userland/Applications/Magnifier/main.cpp
@@ -47,7 +47,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Desktop::Launcher::seal_allowlist());
Config::pledge_domain("Magnifier");
- TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));