mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 14:19:15 +00:00
LaunchServer+SystemServer: Move the portal to a user-specific directory
Various changes are needed to support this: - The directory is created by Core::Account on login (and located in /tmp). - Service's sockets are now deleted on exit (to allow re-creation) - SystemServer needs to handle SIGTERM to correctly destroy services.
This commit is contained in:
parent
cc0d53d6a6
commit
70846d701c
Notes:
sideshowbarker
2024-07-17 16:23:55 +09:00
Author: https://github.com/LucasChollet
Commit: 70846d701c
Pull-request: https://github.com/SerenityOS/serenity/pull/14608
Issue: https://github.com/SerenityOS/serenity/issues/13443
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
21 changed files with 47 additions and 26 deletions
|
@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/etc", "r"));
|
||||
TRY(Core::System::unveil("/tmp/portal/webcontent", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/portal/lookup", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/portal/launch", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/100/portal/launch", "rw"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
TRY(Desktop::Launcher::add_allowed_url(URL::create_with_file_protocol("/bin/MailSettings")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue