This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 1/4] alpha: Define O_PATH.
- From: Matt Turner <mattst88 at gmail dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-ports at sourceware dot org, Matt Turner <mattst88 at gmail dot com>
- Date: Thu, 26 Apr 2012 22:07:51 -0400
- Subject: [PATCH 1/4] alpha: Define O_PATH.
---
ChangeLog.alpha | 4 ++++
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index c25d3f1..086faba 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,3 +1,7 @@
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
+
2012-03-27 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/elf/configure.in: Move to ...
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index d6b7b4d..4c55071 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -52,6 +52,7 @@
#ifdef __USE_GNU
# 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. */
#endif
#ifdef __USE_LARGEFILE64
--
1.7.3.4