From ffdd31816a67f48697ea4d6b852e58d2886d42ca Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 11 Sep 2013 11:15:45 +0200 Subject: Add O_TMPFILE to --- ports/ChangeLog.alpha | 5 +++++ ports/ChangeLog.hppa | 4 ++++ ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 + ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 1 + 4 files changed, 11 insertions(+) (limited to 'ports') 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 + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (__O_TMPFILE): + Define. + 2013-08-30 Ondřej Bílka * 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 + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_TMPFILE): Define. + 2013-08-30 Ondřej Bílka * 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 -- cgit v1.2.3