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
commit d82c91ac2c
Notes: sideshowbarker 2024-07-17 22:35:53 +09:00

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;