mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-23 19:42:53 +00:00
Utilities: Use default execpromises parameter to pledge(..)
This commit is contained in:
parent
4d0317ae7a
commit
af3751e4dd
Notes:
sideshowbarker
2024-07-17 14:28:35 +09:00
Author: https://github.com/bgianfo
Commit: af3751e4dd
Pull-request: https://github.com/SerenityOS/serenity/pull/13496
Reviewed-by: https://github.com/awesomekling ✅
18 changed files with 21 additions and 21 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue