summaryrefslogtreecommitdiff
path: root/Services
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-23 14:19:08 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-23 14:28:45 +0200
commitc74b5fd7987223c12253b4888379e96d09f6ded2 (patch)
tree0f2f73c7e509acaf53a6c7109c2a18b0faeffddc /Services
parentfbd760379ad11b44f67d7e5470c1fa7bb0600f2f (diff)
downloadserenity-c74b5fd7987223c12253b4888379e96d09f6ded2.zip
WebContent: Unveil access to the ImageDecoder service :^)
Diffstat (limited to 'Services')
-rw-r--r--Services/WebContent/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Services/WebContent/main.cpp b/Services/WebContent/main.cpp
index 2e40fc7798..cf9b9d6771 100644
--- a/Services/WebContent/main.cpp
+++ b/Services/WebContent/main.cpp
@@ -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;