Opened 6 years ago

Last modified 6 years ago

#333 new defect

fcntl() and a directory fd

Reported by: KO Myung-Hun Owned by:
Priority: normal Milestone: libc-0.7
Component: libc Version: 0.6.6
Severity: normal Keywords:



fcntl() does not work on a directory fd at all.

F_DUPFD/F_GETFL/F_SELFL/F_GETFD/F_SETFD, all fails with returning ENOTSUP(45).

Change History (1)

comment:1 Changed 6 years ago by KO Myung-Hun

F_DUPFD returns EPERM(1).

Note: See TracTickets for help on using tickets.