From f1b596e75ed694f79cf6a22c9d1691a142ca287a Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 29 Dec 2020 00:35:15 +0100 Subject: Inspector: unveil("/bin", "r") so it can show app icons --- DevTools/Inspector/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DevTools') 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; -- cgit v1.2.3