From 1b36348d8b9676546e81eb86c2336dcdf8ff4e2f Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Tue, 19 Jul 2022 21:01:04 +0200 Subject: 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. --- Userland/Libraries/LibSQL/SQLClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibSQL/SQLClient.h') diff --git a/Userland/Libraries/LibSQL/SQLClient.h b/Userland/Libraries/LibSQL/SQLClient.h index 83eaf1fd9c..8ede4127e5 100644 --- a/Userland/Libraries/LibSQL/SQLClient.h +++ b/Userland/Libraries/LibSQL/SQLClient.h @@ -16,7 +16,7 @@ namespace SQL { class SQLClient : public IPC::ConnectionToServer , public SQLClientEndpoint { - IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql") + IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql"sv) virtual ~SQLClient() = default; Function on_connected; -- cgit v1.2.3