mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Utilities: Use default execpromises parameter to pledge(..)
This commit is contained in:
parent
4d0317ae7a
commit
af3751e4dd
18 changed files with 21 additions and 21 deletions
|
@ -30,7 +30,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
|
|||
|
||||
TRY(Core::System::unveil(Core::File::absolute_path(path), "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
TRY(Core::System::pledge("stdio recvfd rpath", nullptr));
|
||||
TRY(Core::System::pledge("stdio recvfd rpath"));
|
||||
|
||||
auto maybe_loader = Audio::Loader::create(path);
|
||||
if (maybe_loader.is_error()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue