From ad33efbc8cc081a10b45afa9f1a845a959c0dba1 Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Tue, 28 Sep 2021 00:02:56 +0800 Subject: [PATCH] SystemMonitor: Unveil /usr/local/lib This is necessary to symbolicate libraries installed under /usr/local/lib. --- Userland/Applications/SystemMonitor/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index 554c28be03..a6bfd016ad 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -141,6 +141,11 @@ int main(int argc, char** argv) return 1; } + if (unveil("/usr/local/lib", "r") < 0 && errno != ENOENT) { + perror("unveil"); + return 1; + } + if (unveil("/bin/Profiler", "rx") < 0) { perror("unveil"); return 1;