add O_TMPFILE flag, new in linux 3.11
authorSzabolcs Nagy <nsz@port70.net>
Sat, 23 Nov 2013 23:47:48 +0000 (23:47 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Sat, 23 Nov 2013 23:47:48 +0000 (23:47 +0000)
definition in linux:
 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
where __O_TMPFILE and O_DIRECTORY are arch specific

arch/arm/bits/fcntl.h
arch/i386/bits/fcntl.h
arch/microblaze/bits/fcntl.h
arch/mips/bits/fcntl.h
arch/powerpc/bits/fcntl.h
arch/x86_64/bits/fcntl.h

index 98e91d53b1d70b231cc28db3c6b05fa4331261e0..eba10ffcae24997e91ec9705f0c70a3f31e7ac28 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT    0200000
 #define O_LARGEFILE 0400000
 #define O_NOATIME  01000000
+#define O_TMPFILE 020040000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
index 4cc0312db836c8c31aa72cd5c5de01be44d2ea30..0fa8e19ced68b9ac25c6f1d3bd24e4e78440eabd 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT     040000
 #define O_LARGEFILE 0100000
 #define O_NOATIME  01000000
+#define O_TMPFILE 020200000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
index 4cc0312db836c8c31aa72cd5c5de01be44d2ea30..0fa8e19ced68b9ac25c6f1d3bd24e4e78440eabd 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT     040000
 #define O_LARGEFILE 0100000
 #define O_NOATIME  01000000
+#define O_TMPFILE 020200000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
index c51ee7e731d3da397e2fc384231442818b031020..5e33f11af7209c376e63eed4766651ce8bba6db0 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT    0100000
 #define O_LARGEFILE  020000
 #define O_NOATIME  01000000
+#define O_TMPFILE 020200000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
index b57bd57db29f1a879ab2a29a2a0e1d59ae87db22..548e57419c5d3509a2600d08e13521ea941d4818 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT    0400000
 #define O_LARGEFILE 0200000
 #define O_NOATIME  01000000
+#define O_TMPFILE 020040000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
index 0949f31db5c9dcf5161fa34a340afa090fa48138..997771392c94789698e0ae59d23c30faa5a37887 100644 (file)
@@ -15,6 +15,7 @@
 #define O_DIRECT     040000
 #define O_LARGEFILE       0
 #define O_NOATIME  01000000
+#define O_TMPFILE 020200000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0