Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass compulsory
mode
argument to open
when O_CREAT
is used
From `man 2 open`: > The mode argument must be supplied if O_CREAT or O_TMPFILE is > specified in flags; if it is not supplied, some arbitrary bytes > from the stack will be applied as the file mode.
- Loading branch information