diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-07-17 15:41:01 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-19 11:15:14 +0100 |
commit | 70846d701cc117176eca150c54649639ec5e8337 (patch) | |
tree | e0b2e21a4bf10a6b3cf488cfc2e294c931f4796f /Userland/Games/Chess | |
parent | cc0d53d6a676b04c16ad2efe6f72db087c8246c7 (diff) | |
download | serenity-70846d701cc117176eca150c54649639ec5e8337.zip |
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.
Diffstat (limited to 'Userland/Games/Chess')
-rw-r--r-- | Userland/Games/Chess/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index 374aa2b9b8..a323cdc151 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -41,7 +41,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/bin/ChessEngine", "x")); TRY(Core::System::unveil("/etc/passwd", "r")); - TRY(Core::System::unveil("/tmp/portal/launch", "rw")); + TRY(Core::System::unveil("/tmp/100/portal/launch", "rw")); TRY(Core::System::unveil(Core::StandardPaths::home_directory(), "wcbr"sv)); TRY(Core::System::unveil(nullptr, nullptr)); |