Skip to content

Commit

Permalink
WebContent: Pledge "recvfd" :^)
Browse files Browse the repository at this point in the history
This is needed so we can receive file descriptors from ProtocolServer.

Fixes SerenityOS#4660.
  • Loading branch information
awesomekling committed Dec 30, 2020
1 parent 1215d2a commit 9f5eb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/WebContent/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9f5eb49

Please sign in to comment.