aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-04-01 16:29:57 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-04-01 16:29:57 +0000
commitadb252daea96e7e160553703d477b76ff6a7781e (patch)
treeb561660cecbebef36ba9125446b0ea877b3717c7
parent01b5049d107460f5eca797eda983958d1a410ffd (diff)
downloadglibc-adb252daea96e7e160553703d477b76ff6a7781e.tar.xz
glibc-adb252daea96e7e160553703d477b76ff6a7781e.zip
Define O_PATH for ARM.
-rw-r--r--ChangeLog.arm4
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/fcntl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm
index a55e6a03fe..60f2c0b645 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,5 +1,9 @@
2011-04-01 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_PATH): Define.
+
+2011-04-01 Joseph Myers <joseph@codesourcery.com>
+
* sysdeps/unix/sysv/linux/arm/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/arm/bits/fcntl.h b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
index 6a5f89ad1f..aa2d36ca80 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
@@ -53,6 +53,7 @@
#ifdef __USE_GNU
# define O_DIRECT 0200000 /* Direct disk access. */
# define O_NOATIME 01000000 /* Do not set atime. */
+# define O_PATH 010000000 /* Resolve pathname but do not open file. */
#endif
/* For now Linux has synchronisity options for data and read operations.