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/Applications | |
parent | 1fde3737f4725527f8444ccc9989d214aa31dc58 (diff) | |
download | serenity-323c403d43f4ceba2d7275cd0d47c8187b07af5b.zip |
NetworkSettings+SpiceAgent: Update and add required unveil paths
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/NetworkSettings/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Applications/NetworkSettings/main.cpp b/Userland/Applications/NetworkSettings/main.cpp index b6fb09d721..f09c388b80 100644 --- a/Userland/Applications/NetworkSettings/main.cpp +++ b/Userland/Applications/NetworkSettings/main.cpp @@ -21,9 +21,10 @@ ErrorOr<int> serenity_main(Main::Arguments args) TRY(Core::System::unveil("/bin/NetworkServer", "x")); TRY(Core::System::unveil("/etc/Network.ini", "rwc")); + TRY(Core::System::unveil("/proc/all", "r")); TRY(Core::System::unveil("/proc/net/adapters", "r")); TRY(Core::System::unveil("/res", "r")); - TRY(Core::System::unveil("/tmp/portal/clipboard", "rw")); + TRY(Core::System::unveil("/tmp/session/%sid/portal/clipboard", "rw")); TRY(Core::System::unveil("/tmp/portal/window", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); |