mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +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
Notes:
sideshowbarker
2024-07-19 00:22:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9f5eb494073
|
@ -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…
Reference in a new issue