summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-08-13 01:07:49 -0700
committerAndreas Kling <kling@serenityos.org>2021-08-13 11:08:38 +0200
commit27111cfc6cc60214269cc26ea75616667f5e9464 (patch)
tree4d40d0f55cf892992e9e92312b0dadf9db0f29d0 /Userland
parented6d842f851252be62a433f30ceafe0cfb9fd09f (diff)
downloadserenity-27111cfc6cc60214269cc26ea75616667f5e9464.zip
SystemMonitor: Unveil /usr/local/bin so symbolization works on ports
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/SystemMonitor/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp
index fcc43dbc61..de94c32f5d 100644
--- a/Userland/Applications/SystemMonitor/main.cpp
+++ b/Userland/Applications/SystemMonitor/main.cpp
@@ -139,6 +139,11 @@ int main(int argc, char** argv)
return 1;
}
+ if (unveil("/usr/local/bin", "r") < 0) {
+ perror("unveil");
+ return 1;
+ }
+
if (unveil("/bin/Profiler", "rx") < 0) {
perror("unveil");
return 1;