diff --git a/Servers/AudioServer/main.cpp b/Servers/AudioServer/main.cpp index ac7ef5297b..496feb850c 100644 --- a/Servers/AudioServer/main.cpp +++ b/Servers/AudioServer/main.cpp @@ -4,6 +4,14 @@ int main(int, char**) { + if (pledge("stdio thread shared_buffer rpath wpath cpath unix fattr", nullptr) < 0) { + perror("pledge"); + return 1; + } ASEventLoop event_loop; + if (pledge("stdio thread shared_buffer rpath wpath unix", nullptr) < 0) { + perror("pledge"); + return 1; + } return event_loop.exec(); }