mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
file: handle O_NOCTTY in fileflagstovnodeflags
This commit is contained in:
@@ -64,6 +64,8 @@ static inline int fileflagstovnodeflags(int flags) {
|
||||
vnflags |= V_FFLAGS_WRITE;
|
||||
if (flags & O_NONBLOCK)
|
||||
vnflags |= V_FFLAGS_NONBLOCKING;
|
||||
if (flags & O_NOCTTY)
|
||||
vnflags |= V_FFLAGS_NOCTTY;
|
||||
|
||||
return vnflags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user