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/Hearts/main.cpp | |
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/Hearts/main.cpp')
-rw-r--r-- | Userland/Games/Hearts/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Hearts/main.cpp b/Userland/Games/Hearts/main.cpp index 9934a5cfa4..513798bdf0 100644 --- a/Userland/Games/Hearts/main.cpp +++ b/Userland/Games/Hearts/main.cpp @@ -41,7 +41,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); - TRY(Core::System::unveil("/tmp/portal/launch", "rw")); + TRY(Core::System::unveil("/tmp/100/portal/launch", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); auto window = TRY(GUI::Window::try_create()); |