Opened 10 years ago

Last modified 10 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:
Cc:

Description

Hi/2.

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 by KO Myung-Hun, 10 years ago

F_DUPFD returns EPERM(1).

Note: See TracTickets for help on using tickets.