Blame SOURCES/glibc-rh1330705-2.patch

147e83
commit 59b61c82fe18e612058302e4c726385c4eb301d8
147e83
Author: Andreas Schwab <schwab@suse.de>
147e83
Date:   Sun Feb 1 14:04:15 2015 +0100
147e83
147e83
    Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug 17912)
147e83
147e83
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
147e83
index 3d28c84..d2baeb3 100644
147e83
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
147e83
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
147e83
@@ -97,7 +97,7 @@
147e83
 # define __O_DSYNC	 010000
147e83
 #endif
147e83
 #ifndef __O_TMPFILE
147e83
-# define __O_TMPFILE   020200000
147e83
+# define __O_TMPFILE   (020000000 | __O_DIRECTORY)
147e83
 #endif
147e83
 
147e83
 #ifndef F_GETLK