From 9f5eb4940736586b47fba24a7471cdb4fdb7c864 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 30 Dec 2020 15:21:29 +0100 Subject: [PATCH] WebContent: Pledge "recvfd" :^) This is needed so we can receive file descriptors from ProtocolServer. Fixes #4660. --- Services/WebContent/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/WebContent/main.cpp b/Services/WebContent/main.cpp index 5f5bf526350..5367f2cce3f 100644 --- a/Services/WebContent/main.cpp +++ b/Services/WebContent/main.cpp @@ -32,7 +32,7 @@ int main(int, char**) { Core::EventLoop event_loop; - if (pledge("stdio shared_buffer accept unix rpath", nullptr) < 0) { + if (pledge("stdio shared_buffer accept unix rpath recvfd", nullptr) < 0) { perror("pledge"); return 1; }