diff options
Diffstat (limited to 'Applications/SystemMonitor/main.cpp')
-rw-r--r-- | Applications/SystemMonitor/main.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp index 11e1fd36d7..cbb04bcffd 100644 --- a/Applications/SystemMonitor/main.cpp +++ b/Applications/SystemMonitor/main.cpp @@ -137,12 +137,17 @@ int main(int argc, char** argv) return 1; } - if (unveil("/bin/Profiler", "x") < 0) { + if (unveil("/bin", "r") < 0) { perror("unveil"); return 1; } - if (unveil("/bin/Inspector", "x") < 0) { + if (unveil("/bin/Profiler", "rx") < 0) { + perror("unveil"); + return 1; + } + + if (unveil("/bin/Inspector", "rx") < 0) { perror("unveil"); return 1; } |