Inspector: unveil("/bin", "r") so it can show app icons

This commit is contained in:
Linus Groh 2020-12-29 00:35:15 +01:00 committed by Andreas Kling
parent 2b3837a908
commit f1b596e75e
Notes: sideshowbarker 2024-07-19 00:27:43 +09:00

View file

@ -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;