about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-09-11 11:15:45 +0200
committerAndreas Schwab <schwab@suse.de>2013-09-11 11:52:46 +0200
commitffdd31816a67f48697ea4d6b852e58d2886d42ca (patch)
treeebc137d8c0ac0522567ad75b7cf7cec0ec7abed7 /ports
parentb73ed247781d533628b681f57257dc85882645d3 (diff)
downloadglibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.tar.gz
glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.tar.xz
glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.zip
Add O_TMPFILE to <fcntl.h>
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.alpha5
-rw-r--r--ports/ChangeLog.hppa4
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h1
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h1
4 files changed, 11 insertions, 0 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index e5c7bc1da8..e47d46f12b 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,8 @@
+2013-09-11  Andreas Schwab  <schwab@suse.de>
+
+	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (__O_TMPFILE):
+	Define.
+
 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
 
 	* sysdeps/alpha/alphaev67/stpncpy.S: Fix then/than typos.
diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa
index ea4ef886fd..3e7c162211 100644
--- a/ports/ChangeLog.hppa
+++ b/ports/ChangeLog.hppa
@@ -1,3 +1,7 @@
+2013-09-11  Andreas Schwab  <schwab@suse.de>
+
+	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_TMPFILE): Define.
+
 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
 
 	* sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos.
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index 2e31691c2b..02c9a7f751 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -36,6 +36,7 @@
 #define __O_DIRECT	02000000 /* Direct disk access.  */
 #define __O_NOATIME	04000000 /* Do not set atime.  */
 #define __O_PATH	040000000 /* Resolve pathname but do not open file.  */
+#define __O_TMPFILE	0100100000 /* Atomically create nameless file.  */
 
 /* Not necessary, files are always with 64bit off_t.  */
 #define __O_LARGEFILE	0
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index 744548a03e..76faa4086d 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -37,6 +37,7 @@
 #define __O_CLOEXEC	010000000 /* Set close_on_exec.  */
 #define __O_NOATIME	004000000 /* Do not set atime.  */
 #define __O_PATH        020000000
+#define __O_TMPFILE     040010000 /* Atomically create nameless file. */
 
 #define __O_LARGEFILE	00004000