mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibCore+LibIPC: Recognise %uid in path
This patch allows to insert "%uid" in `IPC_CLIENT_CONNECTION` declaration and in SystemServer's ini files. This pattern is replaced then replaced by the UID of the owner of the service. It opens a path for seamlessly managed, per-user portal.
This commit is contained in:
parent
c5b7c9f479
commit
1b36348d8b
Notes:
sideshowbarker
2024-07-17 09:56:35 +09:00
Author: https://github.com/LucasChollet
Commit: 1b36348d8b
Pull-request: https://github.com/SerenityOS/serenity/pull/14673
Reviewed-by: https://github.com/linusg
21 changed files with 33 additions and 21 deletions
|
@ -16,7 +16,7 @@ namespace GUI {
|
|||
class ConnectionToWindowManagerServer final
|
||||
: public IPC::ConnectionToServer<WindowManagerClientEndpoint, WindowManagerServerEndpoint>
|
||||
, public WindowManagerClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(ConnectionToWindowManagerServer, "/tmp/portal/wm")
|
||||
IPC_CLIENT_CONNECTION(ConnectionToWindowManagerServer, "/tmp/portal/wm"sv)
|
||||
|
||||
public:
|
||||
static ConnectionToWindowManagerServer& the();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue