summaryrefslogtreecommitdiff
path: root/DevTools
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-29 00:35:15 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-29 13:42:21 +0100
commitf1b596e75ed694f79cf6a22c9d1691a142ca287a (patch)
treef1d4330c5529af72486c33f9e1890b79e49d3e79 /DevTools
parent2b3837a908144218b6926cecc36b04f594bf7c30 (diff)
downloadserenity-f1b596e75ed694f79cf6a22c9d1691a142ca287a.zip
Inspector: unveil("/bin", "r") so it can show app icons
Diffstat (limited to 'DevTools')
-rw-r--r--DevTools/Inspector/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp
index 27ecd68cb4..0591313f80 100644
--- a/DevTools/Inspector/main.cpp
+++ b/DevTools/Inspector/main.cpp
@@ -60,6 +60,11 @@ int main(int argc, char** argv)
return 1;
}
+ if (unveil("/bin", "r") < 0) {
+ perror("unveil");
+ return 1;
+ }
+
if (unveil("/tmp", "rwc") < 0) {
perror("unveil");
return 1;