1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

Utilities: Use default execpromises parameter to pledge(..)

This commit is contained in:
Brian Gianforcaro 2022-04-03 16:16:06 -07:00 committed by Brian Gianforcaro
parent 4d0317ae7a
commit af3751e4dd
18 changed files with 21 additions and 21 deletions

View file

@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil("/etc/group", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
TRY(Core::System::pledge("stdio rpath", nullptr));
TRY(Core::System::pledge("stdio rpath"));
Vector<char const*> usernames;