mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Services: Use new global variables at /sys/kernel/ directory
This commit is contained in:
parent
b579d9518c
commit
35c98a031a
Notes:
sideshowbarker
2024-07-17 05:06:15 +09:00
Author: https://github.com/supercomputer7
Commit: 35c98a031a
Pull-request: https://github.com/SerenityOS/serenity/pull/15593
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
11 changed files with 13 additions and 13 deletions
|
@ -18,7 +18,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
|
||||
TRY(Core::System::pledge("unix rpath wpath stdio sendfd recvfd"));
|
||||
TRY(Core::System::unveil(SPICE_DEVICE, "rw"sv));
|
||||
TRY(Core::System::unveil("/proc/all", "r"));
|
||||
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/clipboard", "rw"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue