From b44167c02addd63d5ad5bec5c5566d0e0278f01a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 26 Apr 2012 22:07:51 -0400 Subject: [PATCH] alpha: Define O_PATH. --- ChangeLog.alpha | 4 ++++ sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index c25d3f1f61..086faba5ef 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,7 @@ +2012-04-26 Matt Turner + + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define. + 2012-03-27 Richard Henderson * 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 d6b7b4dfe2..4c55071146 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