mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 08:41:15 +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: https://github.com/SerenityOS/serenity/commit/f1b596e75ed Pull-request: https://github.com/SerenityOS/serenity/pull/4624
|
@ -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…
Reference in a new issue