mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
Help+LibManual: Move all manpage path handling to LibManual
This way, we'll have an easier time changing these paths.
This commit is contained in:
parent
16ca41ec10
commit
a438c4d568
Notes:
sideshowbarker
2024-07-17 10:31:19 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: a438c4d568
Pull-request: https://github.com/SerenityOS/serenity/pull/14393
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/sin-ack
6 changed files with 66 additions and 14 deletions
|
@ -33,6 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
TRY(Core::System::unveil("/sys/kernel/processes", "r"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
// We specifically don't want to load this path from a library, as that can be hijacked with LD_PRELOAD.
|
||||
TRY(Core::System::unveil("/usr/share/man", "r"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue