GMLPlayground: Replace /proc/all unveil with /sys/kernel/processes

This was missed before commit dc5b28e26c.

Fixes #15809.
This commit is contained in:
Timothy Flynn 2022-10-26 13:25:13 -04:00 committed by Linus Groh
parent 006118599c
commit 67e396d931
Notes: sideshowbarker 2024-07-17 08:45:34 +09:00

View File

@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix"));
auto app = TRY(GUI::Application::try_create(arguments));
TRY(Core::System::unveil("/proc/all", "r"));
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));