mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
Userland: Unveil /proc/all in applications which require it
These were missed in 7af5eef
. It is needed for any application using
e.g. FileSystemAccessServer.
This commit is contained in:
parent
25e0ab3ee4
commit
7cab86ad28
9 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
|
||||
|
||||
TRY(Core::System::unveil("/proc/all", "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