Cygwin: add AF_UNIX reparse points to path handling
* check_reparse_point_target returns a path flag mask, rather than just 1. Return PATH_SYMLINK | PATH_REP for symlinks and directory mount points, PATH_SOCKET | PATH_REP for AF_UNIX sockets. * Define Cygwin AF_UNIX socket reparse tag and GUID in ntdll.h. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
|
||||
#include <w32api/ntstatus.h>
|
||||
|
||||
/* Special values for Cygwin AF_UNIX socket reparse points. */
|
||||
#define IO_REPARSE_TAG_CYGUNIX (0x00006375)
|
||||
#define CYGWIN_SOCKET_UUID L"efc1714d-7b19-4407-bab3-c5b1f92cb88c"
|
||||
|
||||
/* custom status code: */
|
||||
#define STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION ((NTSTATUS) 0xe0000269)
|
||||
|
Reference in New Issue
Block a user