aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-04-01 16:30:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-04-01 16:30:22 +0000
commitcea44847924fe22ee2e1e112ef46880b6adf8d5e (patch)
tree80bdfdd84771b894f9e8779f4b51db6c6b759a61
parentadb252daea96e7e160553703d477b76ff6a7781e (diff)
downloadglibc-cea44847924fe22ee2e1e112ef46880b6adf8d5e.tar.xz
glibc-cea44847924fe22ee2e1e112ef46880b6adf8d5e.zip
Define O_PATH for MIPS.
-rw-r--r--ChangeLog.mips4
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/fcntl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index b88dbca9ba..fd9d9929d3 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,5 +1,9 @@
2011-04-01 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
+
+2011-04-01 Joseph Myers <joseph@codesourcery.com>
+
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
file_handle and MAX_HANDLE_SZ. Declare name_to_handle_at and
open_by_handle. Augment a few comments.
diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
index e2855671e9..2edc7a2822 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.