diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-07-19 21:01:04 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-14 21:52:35 +0100 |
commit | 1b36348d8b9676546e81eb86c2336dcdf8ff4e2f (patch) | |
tree | 481684a0c5aa9d21357863ce9fb5961cf7199e5b /Userland/Libraries/LibSQL/SQLClient.h | |
parent | c5b7c9f4799508ed6f940755243ab47dc55558ce (diff) | |
download | serenity-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/LibSQL/SQLClient.h')
-rw-r--r-- | Userland/Libraries/LibSQL/SQLClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<SQLClientEndpoint, SQLServerEndpoint> , public SQLClientEndpoint { - IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql") + IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql"sv) virtual ~SQLClient() = default; Function<void(int, String const&)> on_connected; |