1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

Base: Launch Request at session start-up

This commit is contained in:
Lucas CHOLLET 2022-07-24 15:11:06 +02:00 committed by Linus Groh
parent 07e89ad538
commit 266e18e0b6
Notes: sideshowbarker 2024-07-17 08:15:37 +09:00
5 changed files with 12 additions and 13 deletions

View file

@ -23,7 +23,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/etc/timezone", "r"));
TRY(Core::System::unveil("/tmp/portal/request", "rw"));
TRY(Core::System::unveil("/tmp/user/%uid/portal/request", "rw"));
TRY(Core::System::unveil("/tmp/portal/image", "rw"));
TRY(Core::System::unveil("/tmp/portal/websocket", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));