mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
groupdel: Ensure the veil is closed after required files are unveiled
This commit is contained in:
parent
e99a6fede4
commit
b471ddfa73
|
@ -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