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
Notes:
sideshowbarker
2024-07-19 00:22:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9f5eb494073
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue