From 18c559b0e371ee58299ce008bd111aae6903dd32 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 24 Dec 2022 22:38:44 -0700 Subject: [PATCH] SoundPlayer: Pledge proc so that we can actually open audio files --- Userland/Applications/SoundPlayer/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Applications/SoundPlayer/main.cpp b/Userland/Applications/SoundPlayer/main.cpp index 4eaed41fac..ac0d0fcf27 100644 --- a/Userland/Applications/SoundPlayer/main.cpp +++ b/Userland/Applications/SoundPlayer/main.cpp @@ -26,13 +26,13 @@ ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix")); + TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix proc")); auto app = TRY(GUI::Application::try_create(arguments)); auto audio_client = TRY(Audio::ConnectionToServer::try_create()); auto decoder_client = TRY(ImageDecoderClient::Client::try_create()); - TRY(Core::System::pledge("stdio recvfd sendfd rpath thread")); + TRY(Core::System::pledge("stdio recvfd sendfd rpath thread proc")); auto app_icon = GUI::Icon::default_icon("app-sound-player"sv);