]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: AF_UNIX: use FILE_OPEN_REPARSE_POINT when needed
authorKen Brown <kbrown@cornell.edu>
Mon, 28 Sep 2020 19:57:56 +0000 (15:57 -0400)
committerKen Brown <kbrown@cornell.edu>
Sun, 4 Oct 2020 16:53:04 +0000 (12:53 -0400)
commit4b4fffe0f2390be6a5be27b6a3ceaa212a3724b2
tree1cf7b88fbf944152717511ad860f322200bbff27
parentea275093c179fea636470173509615eb6bddad0f
Cygwin: AF_UNIX: use FILE_OPEN_REPARSE_POINT when needed

The following Windows system calls currently fail with
STATUS_IO_REPARSE_TAG_NOT_HANDLED when called on an AF_UNIX socket:

- NtOpenFile in get_file_sd

- NtOpenFile in set_file_sd

- NtCreateFile in fhandler_base::open

Fix this by adding the FILE_OPEN_REPARSE_POINT flag to those calls
when the file is a known reparse point.
winsup/cygwin/fhandler.cc
winsup/cygwin/security.cc
This page took 0.033395 seconds and 5 git commands to generate.