]> 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>
Mon, 20 Jan 2020 14:47:15 +0000 (09:47 -0500)
commit352dbd304be48cd47de4f588031b98b8e0202f33
tree4e9bc0f4ff65e9433fdf86d0d205076c71a73271
parent6cc05784e16af56750417b73d778efb09c3b122e
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.028112 seconds and 5 git commands to generate.