Define O_PATH for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 1 Apr 2011 16:30:22 +0000 (16:30 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 1 Apr 2011 16:30:22 +0000 (16:30 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/fcntl.h

index b88dbca..fd9d992 100644 (file)
@@ -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.
index e285567..2edc7a2 100644 (file)
@@ -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.