]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fstatat, fchownat: support the AT_EMPTY_PATH flag
authorKen Brown <kbrown@cornell.edu>
Fri, 27 Dec 2019 22:38:32 +0000 (17:38 -0500)
committerKen Brown <kbrown@cornell.edu>
Wed, 14 Oct 2020 14:54:07 +0000 (10:54 -0400)
commit842529460f994fdd54dffbfa729aaf3bbc16ffd1
treea8d1425b4e3bc9070292ba0ea72f32815619e34e
parent804add3cec8aa32c233a6d673290b4ad0f605a19
Cygwin: fstatat, fchownat: support the AT_EMPTY_PATH flag

Following Linux, allow the pathname argument to be an empty string if
the AT_EMPTY_PATH flag is specified.  In this case the dirfd argument
can refer to any type of file, not just a directory, and the call
operates on that file.  In particular, dirfd can refer to a symlink
that was opened with O_PATH | O_NOFOLLOW.
winsup/cygwin/syscalls.cc
This page took 0.026639 seconds and 5 git commands to generate.