diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-23 14:19:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-23 14:28:45 +0200 |
commit | c74b5fd7987223c12253b4888379e96d09f6ded2 (patch) | |
tree | 0f2f73c7e509acaf53a6c7109c2a18b0faeffddc | |
parent | fbd760379ad11b44f67d7e5470c1fa7bb0600f2f (diff) | |
download | serenity-c74b5fd7987223c12253b4888379e96d09f6ded2.zip |
WebContent: Unveil access to the ImageDecoder service :^)
-rw-r--r-- | Services/WebContent/main.cpp | 4 |
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; |