mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
groupdel: Ensure the veil is closed after required files are unveiled
This commit is contained in:
committed by
Andreas Kling
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::pledge("stdio wpath rpath cpath fattr proc exec"));
|
||||||
TRY(Core::System::unveil("/etc/", "rwc"));
|
TRY(Core::System::unveil("/etc/", "rwc"));
|
||||||
TRY(Core::System::unveil("/bin/rm", "x"));
|
TRY(Core::System::unveil("/bin/rm", "x"));
|
||||||
|
TRY(Core::System::unveil(nullptr, nullptr));
|
||||||
|
|
||||||
DeprecatedString groupname;
|
DeprecatedString groupname;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user