Cygwin: fix regression in O_TMPFILE | O_EXCL case
The new proc fd code accidentally allowed to linkat an O_TMPFILE even if the file has been opened with O_EXCL. This patch fixes it. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -73,6 +73,11 @@ enum path_types
|
||||
PATH_DONT_USE = _BIT (31) /* conversion to signed happens. */
|
||||
};
|
||||
|
||||
enum fetch_fh_flags
|
||||
{
|
||||
FFH_LINKAT = (1 << 0),
|
||||
};
|
||||
|
||||
NTSTATUS file_get_fai (HANDLE, PFILE_ALL_INFORMATION);
|
||||
int check_reparse_point_target (HANDLE, bool, PREPARSE_DATA_BUFFER,
|
||||
PUNICODE_STRING);
|
||||
|
Reference in New Issue
Block a user