mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +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
21 changed files with 33 additions and 21 deletions
|
@ -16,7 +16,7 @@ namespace GUI {
|
|||
class ConnectionToWindowServer final
|
||||
: public IPC::ConnectionToServer<WindowClientEndpoint, WindowServerEndpoint>
|
||||
, public WindowClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(ConnectionToWindowServer, "/tmp/portal/window")
|
||||
IPC_CLIENT_CONNECTION(ConnectionToWindowServer, "/tmp/portal/window"sv)
|
||||
public:
|
||||
static ConnectionToWindowServer& the();
|
||||
i32 expose_client_id() { return m_client_id; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue