mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
Inspector: unveil("/bin", "r") so it can show app icons
This commit is contained in:
parent
2b3837a908
commit
f1b596e75e
Notes:
sideshowbarker
2024-07-19 00:27:43 +09:00
Author: https://github.com/linusg
Commit: f1b596e75e
Pull-request: https://github.com/SerenityOS/serenity/pull/4624
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