diff options
Diffstat (limited to 'Servers/ProtocolServer')
-rw-r--r-- | Servers/ProtocolServer/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Servers/ProtocolServer/main.cpp b/Servers/ProtocolServer/main.cpp index 31c69c165c..4d95f89b75 100644 --- a/Servers/ProtocolServer/main.cpp +++ b/Servers/ProtocolServer/main.cpp @@ -6,12 +6,13 @@ int main(int, char**) { - if (pledge("stdio inet shared_buffer unix rpath cpath fattr", nullptr) < 0) { + if (pledge("stdio inet shared_buffer accept unix rpath cpath fattr", nullptr) < 0) { perror("pledge"); return 1; } CEventLoop event_loop; - if (pledge("stdio inet shared_buffer unix", nullptr) < 0) { + // FIXME: Establish a connection to LookupServer and then drop "unix"? + if (pledge("stdio inet shared_buffer accept unix", nullptr) < 0) { perror("pledge"); return 1; } |