1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:07:34 +00:00

NetworkSettings+SpiceAgent: Update and add required unveil paths

This commit is contained in:
ne0ndrag0n 2022-10-14 21:05:48 -04:00 committed by Brian Gianforcaro
parent 1fde3737f4
commit 323c403d43
3 changed files with 4 additions and 3 deletions

View file

@ -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));