1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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

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