From cea44847924fe22ee2e1e112ef46880b6adf8d5e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 1 Apr 2011 16:30:22 +0000 Subject: [PATCH] Define O_PATH for MIPS. --- ChangeLog.mips | 4 ++++ sysdeps/unix/sysv/linux/mips/bits/fcntl.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog.mips b/ChangeLog.mips index b88dbca9bac..fd9d9929d34 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,7 @@ +2011-04-01 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define. + 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h index e2855671e99..2edc7a28225 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h @@ -54,6 +54,7 @@ #ifdef __USE_GNU # define O_DIRECT 0x8000 /* Direct disk access hint. */ # define O_NOATIME 0x40000 /* Do not set atime. */ +# define O_PATH 010000000 /* Resolve pathname but do not open file. */ #endif /* For now Linux has no synchronisity options for data and read operations. -- 2.47.2