diff --git a/Userland/Utilities/beep.cpp b/Userland/Utilities/beep.cpp index c21d73ca4ce..0919402a83a 100644 --- a/Userland/Utilities/beep.cpp +++ b/Userland/Utilities/beep.cpp @@ -10,6 +10,9 @@ ErrorOr serenity_main(Main::Arguments arguments) { + TRY(Core::System::pledge("stdio rpath wpath")); + TRY(Core::System::unveil("/dev/beep", "rw")); + TRY(Core::System::unveil(nullptr, nullptr)); Optional tone; Optional milliseconds_duration; Core::ArgsParser args_parser;