mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Applications: Use new global variables at /sys/kernel/ directory
This commit is contained in:
parent
6e508573a0
commit
5dfb2b18f3
Notes:
sideshowbarker
2024-07-17 05:06:26 +09:00
Author: https://github.com/supercomputer7
Commit: 5dfb2b18f3
Pull-request: https://github.com/SerenityOS/serenity/pull/15593
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
28 changed files with 33 additions and 32 deletions
|
@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
args_parser.add_positional_argument(image_file, "Image file to open", "path", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(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/clipboard", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue