mirror of
https://github.com/RGBCube/serenity
synced 2025-05-26 01:35:08 +00:00
WebContent: Unveil access to the ImageDecoder service :^)
This commit is contained in:
parent
fbd760379a
commit
c74b5fd798
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ int main(int, char**)
|
||||||
perror("unveil");
|
perror("unveil");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (unveil("/tmp/portal/image", "rw") < 0) {
|
||||||
|
perror("unveil");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
if (unveil(nullptr, nullptr) < 0) {
|
if (unveil(nullptr, nullptr) < 0) {
|
||||||
perror("unveil");
|
perror("unveil");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue