WebContent: Pledge "recvfd" :^)

This is needed so we can receive file descriptors from ProtocolServer.

Fixes #4660.
This commit is contained in:
Andreas Kling 2020-12-30 15:21:29 +01:00
parent 1215d2a642
commit 9f5eb49407
Notes: sideshowbarker 2024-07-19 00:22:35 +09:00

View file

@ -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;
}