about summary refs log tree commit diff
path: root/arch/mips/bits/fcntl.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-11-23 23:47:48 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-11-23 23:47:48 +0000
commitf7d348ec39ce31efdc4963eb4a8f16f48e5ef095 (patch)
tree4cdf203298e702c14239e45f182e98a06e5fede2 /arch/mips/bits/fcntl.h
parentb0e9d5771162401a5328aec7e1e8a6744e531521 (diff)
downloadmusl-f7d348ec39ce31efdc4963eb4a8f16f48e5ef095.tar.gz
musl-f7d348ec39ce31efdc4963eb4a8f16f48e5ef095.tar.xz
musl-f7d348ec39ce31efdc4963eb4a8f16f48e5ef095.zip
add O_TMPFILE flag, new in linux 3.11
definition in linux:
 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
where __O_TMPFILE and O_DIRECTORY are arch specific
Diffstat (limited to 'arch/mips/bits/fcntl.h')
-rw-r--r--arch/mips/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/bits/fcntl.h b/arch/mips/bits/fcntl.h
index c51ee7e7..5e33f11a 100644
--- a/arch/mips/bits/fcntl.h
+++ b/arch/mips/bits/fcntl.h
@@ -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