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:
parent
ec96aee8e3
commit
6e508573a0
3 changed files with 11 additions and 11 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue