mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:47:45 +00:00
WebContent: Pledge "recvfd" :^)
This is needed so we can receive file descriptors from ProtocolServer. Fixes #4660.
This commit is contained in:
parent
1215d2a642
commit
9f5eb49407
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
int main(int, char**)
|
int main(int, char**)
|
||||||
{
|
{
|
||||||
Core::EventLoop event_loop;
|
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");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue