diff --git a/Userland/host.cpp b/Userland/host.cpp index 74f1a0c822..232b94240b 100644 --- a/Userland/host.cpp +++ b/Userland/host.cpp @@ -3,9 +3,15 @@ #include #include #include +#include int main(int argc, char** argv) { + if (pledge("stdio dns", nullptr) < 0) { + perror("pledge"); + return 1; + } + if (argc < 2) { printf("usage: host \n"); return 0;