diff --git a/Applications/SoundPlayer/main.cpp b/Applications/SoundPlayer/main.cpp index 3517bfcf10..583e4aa810 100644 --- a/Applications/SoundPlayer/main.cpp +++ b/Applications/SoundPlayer/main.cpp @@ -12,8 +12,18 @@ int main(int argc, char** argv) { + if (pledge("stdio unix shared_buffer cpath rpath fattr", nullptr) < 0) { + perror("pledge"); + return 1; + } + GApplication app(argc, argv); + if (pledge("stdio unix shared_buffer rpath", nullptr) < 0) { + perror("pledge"); + return 1; + } + auto audio_client = AClientConnection::construct(); audio_client->handshake();