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

SystemMonitor: Add back accidentally removed veil lock

Since the call to lock the veil was missing, the protections provided
by unveil() were not actually enabled.
This commit is contained in:
Idan Horowitz 2021-12-19 01:56:17 +02:00 committed by Andreas Kling
parent ff49285a02
commit d82c91ac2c

View file

@ -125,6 +125,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/bin/Profiler", "rx"));
TRY(Core::System::unveil("/bin/Inspector", "rx"));
TRY(Core::System::unveil(nullptr, nullptr));
StringView args_tab = "processes"sv;
Core::ArgsParser parser;