mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
truncate: Add a basic set of pledge promises
This commit is contained in:
parent
9eb7030b55
commit
d117c4cccc
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ enum TruncateOperation {
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio rpath wpath cpath", nullptr));
|
||||
|
||||
const char* resize = nullptr;
|
||||
const char* reference = nullptr;
|
||||
const char* file = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue