CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/05/21 10:41:03
Modified files:
sys/kern : kern_descrip.c vfs_syscalls.c
Log message:
Cleanup O_CLOEXEC handling and make sure UF_EXCLOSE is set correctly
when opening /dev/fd/* (i.e., UF_EXCLOSE is now set iff O_CLOEXEC is
set, rather than copying UF_EXCLOSE from the file descriptor being
dup'd).
Also, add support for O_CLOEXEC and O_DIRECTORY to fhopen().
ok krw, guenther; feedback from millert; testing and bug finding by krw
