mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
groupdel: Ensure the veil is closed after required files are unveiled
This commit is contained in:
parent
e99a6fede4
commit
b471ddfa73
Notes:
sideshowbarker
2024-07-17 03:18:29 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/b471ddfa73 Pull-request: https://github.com/SerenityOS/serenity/pull/19487
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::pledge("stdio wpath rpath cpath fattr proc exec"));
|
||||
TRY(Core::System::unveil("/etc/", "rwc"));
|
||||
TRY(Core::System::unveil("/bin/rm", "x"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
DeprecatedString groupname;
|
||||
|
||||
|
|
Loading…
Reference in a new issue