1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:48:11 +00:00

Userland+Base: Don't run NetworkSettings in elevated mode

This commit is contained in:
Fabian Dellwing 2023-04-27 21:09:31 +02:00 committed by Andrew Kaster
parent 24b1bdca27
commit b01fcccbbd
4 changed files with 2 additions and 10 deletions

View file

@ -248,6 +248,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/dev", "r"));
TRY(Core::System::unveil("/bin", "r"));
TRY(Core::System::unveil("/bin/Escalator", "x"));
TRY(Core::System::unveil("/bin/NetworkSettings", "x"));
TRY(Core::System::unveil("/usr/lib", "r"));
// This directory only exists if ports are installed