From d82c91ac2c83b68d9ac41b1d32436a2eb9535ab6 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sun, 19 Dec 2021 01:56:17 +0200 Subject: [PATCH] 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. --- Userland/Applications/SystemMonitor/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index 6f3e456713..1c4bb5ed01 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -125,6 +125,7 @@ ErrorOr 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;