From c74b5fd7987223c12253b4888379e96d09f6ded2 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 23 Jun 2020 14:19:08 +0200 Subject: WebContent: Unveil access to the ImageDecoder service :^) --- Services/WebContent/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Services') 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; -- cgit v1.2.3