WebContent: Unveil access to the ImageDecoder service :^)

This commit is contained in:
Andreas Kling 2020-06-23 14:19:08 +02:00
commit c74b5fd798
Notes: sideshowbarker 2024-07-19 05:25:55 +09:00

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;