summaryrefslogtreecommitdiff
path: root/Userland/Services/SpiceAgent
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/Services/SpiceAgent
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/Services/SpiceAgent')
-rw-r--r--Userland/Services/SpiceAgent/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Services/SpiceAgent/main.cpp b/Userland/Services/SpiceAgent/main.cpp
index 89588df46d..89843e19ef 100644
--- a/Userland/Services/SpiceAgent/main.cpp
+++ b/Userland/Services/SpiceAgent/main.cpp
@@ -18,7 +18,6 @@ ErrorOr<int> serenity_main(Main::Arguments)
TRY(Core::System::pledge("unix rpath wpath stdio sendfd recvfd"));
TRY(Core::System::unveil(SPICE_DEVICE, "rw"sv));
- TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/clipboard", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));