diff options
author | ne0ndrag0n <ne0ndrag0n@users.noreply.github.com> | 2022-10-14 21:05:48 -0400 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-10-15 05:59:39 +0000 |
commit | 323c403d43f4ceba2d7275cd0d47c8187b07af5b (patch) | |
tree | 97778517b33a65dccb3ad2b52beccb5fd2bf6649 /Userland/Services | |
parent | 1fde3737f4725527f8444ccc9989d214aa31dc58 (diff) | |
download | serenity-323c403d43f4ceba2d7275cd0d47c8187b07af5b.zip |
NetworkSettings+SpiceAgent: Update and add required unveil paths
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/SpiceAgent/ConnectionToClipboardServer.h | 2 | ||||
-rw-r--r-- | Userland/Services/SpiceAgent/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/SpiceAgent/ConnectionToClipboardServer.h b/Userland/Services/SpiceAgent/ConnectionToClipboardServer.h index d553ca7195..b10cc39b29 100644 --- a/Userland/Services/SpiceAgent/ConnectionToClipboardServer.h +++ b/Userland/Services/SpiceAgent/ConnectionToClipboardServer.h @@ -15,7 +15,7 @@ class ConnectionToClipboardServer final : public IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint> , public ClipboardClientEndpoint { - IPC_CLIENT_CONNECTION(ConnectionToClipboardServer, "/tmp/portal/clipboard"sv) + IPC_CLIENT_CONNECTION(ConnectionToClipboardServer, "/tmp/session/%sid/portal/clipboard"sv) public: Function<void()> on_data_changed; diff --git a/Userland/Services/SpiceAgent/main.cpp b/Userland/Services/SpiceAgent/main.cpp index 3527bd495e..890cc1ef2e 100644 --- a/Userland/Services/SpiceAgent/main.cpp +++ b/Userland/Services/SpiceAgent/main.cpp @@ -18,7 +18,7 @@ ErrorOr<int> serenity_main(Main::Arguments) TRY(Core::System::pledge("unix rpath wpath stdio sendfd recvfd")); TRY(Core::System::unveil(SPICE_DEVICE, "rw"sv)); - TRY(Core::System::unveil("/tmp/portal/clipboard", "rw")); + TRY(Core::System::unveil("/tmp/session/%sid/portal/clipboard", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); int serial_port_fd = TRY(Core::System::open(SPICE_DEVICE, O_RDWR)); |