summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibConfig
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-07-19 21:01:04 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-14 21:52:35 +0100
commit1b36348d8b9676546e81eb86c2336dcdf8ff4e2f (patch)
tree481684a0c5aa9d21357863ce9fb5961cf7199e5b /Userland/Libraries/LibConfig
parentc5b7c9f4799508ed6f940755243ab47dc55558ce (diff)
downloadserenity-1b36348d8b9676546e81eb86c2336dcdf8ff4e2f.zip
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.
Diffstat (limited to 'Userland/Libraries/LibConfig')
-rw-r--r--Userland/Libraries/LibConfig/Client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibConfig/Client.h b/Userland/Libraries/LibConfig/Client.h
index 99d45a2fc6..48a93e3491 100644
--- a/Userland/Libraries/LibConfig/Client.h
+++ b/Userland/Libraries/LibConfig/Client.h
@@ -18,7 +18,7 @@ namespace Config {
class Client final
: public IPC::ConnectionToServer<ConfigClientEndpoint, ConfigServerEndpoint>
, public ConfigClientEndpoint {
- IPC_CLIENT_CONNECTION(Client, "/tmp/portal/config")
+ IPC_CLIENT_CONNECTION(Client, "/tmp/portal/config"sv)
public:
void pledge_domains(Vector<String> const&);