Opened 5 years ago

Last modified 5 years ago

#333 new defect

fcntl() and a directory fd

Reported by: komh 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 5 years ago by komh

F_DUPFD returns EPERM(1).

Note: See TracTickets for help on using tickets.