mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 09:55:06 +00:00
Inspector: unveil("/bin", "r") so it can show app icons
This commit is contained in:
parent
2b3837a908
commit
f1b596e75e
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue