mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +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
25 changed files with 0 additions and 25 deletions
|
@ -23,7 +23,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
|
||||
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
// We specifically don't want to load this path from a library, as that can be hijacked with LD_PRELOAD.
|
||||
TRY(Core::System::unveil("/usr/share/man", "r"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue