1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 18:45:06 +00:00

WebContent: Unveil access to the ImageDecoder service :^)

This commit is contained in:
Andreas Kling 2020-06-23 14:19:08 +02:00
parent fbd760379a
commit c74b5fd798

View file

@ -44,6 +44,10 @@ int main(int, char**)
perror("unveil");
return 1;
}
if (unveil("/tmp/portal/image", "rw") < 0) {
perror("unveil");
return 1;
}
if (unveil(nullptr, nullptr) < 0) {
perror("unveil");
return 1;