Ignore file creation flag in fcntl(F_SETFL)
#4352
Labels
A-shims
Area: This affects the external function shims
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
E-good-first-issue
A good way to start contributing, mentoring is available
For
fcntl(F_SETFL)
, some file creation flags supposed to be ignored:There is a list of file creation flags in https://man7.org/linux/man-pages/man2/open.2.html.
To resolve this issue, we just need to ignore every file creation flag, except
O_APPEND
,O_ASYNC
,O_DIRECT
,O_NOATIME
andO_NONBLOCK
.The text was updated successfully, but these errors were encountered: