1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

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.
This commit is contained in:
Liav A 2023-01-13 01:02:26 +02:00 committed by Andreas Kling
parent 16b6e644d7
commit e241b47fee
25 changed files with 0 additions and 25 deletions

View file

@ -88,7 +88,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (!Browser::g_webdriver_content_ipc_path.is_empty())
specified_urls.empend("about:blank");
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/image", "rw"));