1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:07:34 +00:00

Applets: Use new global variables at /sys/kernel/ directory

This commit is contained in:
Liav A 2022-10-14 21:54:16 +03:00 committed by Andrew Kaster
parent ec96aee8e3
commit 6e508573a0
3 changed files with 11 additions and 11 deletions

View file

@ -243,7 +243,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
Config::pledge_domain("AudioApplet");
TRY(Core::System::unveil("/tmp/session/%sid/portal/audio", "rw"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/proc/all", "r"));
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
auto window = TRY(GUI::Window::try_create());