diff options
Diffstat (limited to 'Servers/LookupServer/main.cpp')
-rw-r--r-- | Servers/LookupServer/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Servers/LookupServer/main.cpp b/Servers/LookupServer/main.cpp index 4b0bcef162..d14458def0 100644 --- a/Servers/LookupServer/main.cpp +++ b/Servers/LookupServer/main.cpp @@ -7,7 +7,7 @@ int main(int argc, char** argv) (void)argc; (void)argv; - if (pledge("stdio unix inet cpath rpath fattr", nullptr) < 0) { + if (pledge("stdio accept unix inet cpath rpath fattr", nullptr) < 0) { perror("pledge"); return 1; } @@ -15,7 +15,7 @@ int main(int argc, char** argv) CEventLoop event_loop; LookupServer server; - if (pledge("stdio unix inet", nullptr) < 0) { + if (pledge("stdio accept inet", nullptr) < 0) { perror("pledge"); return 1; } |