mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +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:
parent
16b6e644d7
commit
e241b47fee
Notes:
sideshowbarker
2024-07-17 01:46:13 +09:00
Author: https://github.com/supercomputer7
Commit: e241b47fee
Pull-request: https://github.com/SerenityOS/serenity/pull/16985
Reviewed-by: https://github.com/awesomekling
25 changed files with 0 additions and 25 deletions
|
@ -43,7 +43,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return GUI::Window::CloseRequestDecision::StayOpen;
|
||||
};
|
||||
|
||||
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue