diff options
author | 2011-07-18 00:27:15 +0000 | |
---|---|---|
committer | 2011-07-18 00:27:15 +0000 | |
commit | 043a2be46b3113f33154cff3d1e6ed76ae62194e (patch) | |
tree | 1d300a1f78c26bced40f411763429370a8cef7cd /sys/kern/subr_hibernate.c | |
parent | sync (diff) | |
download | wireguard-openbsd-043a2be46b3113f33154cff3d1e6ed76ae62194e.tar.xz wireguard-openbsd-043a2be46b3113f33154cff3d1e6ed76ae62194e.zip |
Implement fdopendir(3) and refactor opendir(3) and fdopendir(3) to use
a common __fdopendir() function. Also, take advantage of the new
O_DIRECTORY and O_CLOEXEC flags in opendir(3).
(Currently fdopendir(3) is commented out; it will be enabled shortly
alongside openat(2) et al.)
Tested by naddy@ in a bulk build.
tweaks and ok guenther@; stupid POSIX nit pointed out by oga@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions