diff --git a/Servers/TTYServer/main.cpp b/Servers/TTYServer/main.cpp index d26fb938cb..8b02fab67d 100644 --- a/Servers/TTYServer/main.cpp +++ b/Servers/TTYServer/main.cpp @@ -6,6 +6,11 @@ int main(int argc, char** argv) { + if (pledge("stdio tty proc exec", nullptr) < 0) { + perror("pledge"); + return 1; + } + if (argc < 2) return -1;