m68k: add O_PATH to bits/fcntl.h
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 3 Apr 2011 21:57:44 +0000 (23:57 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 3 Apr 2011 21:57:44 +0000 (23:57 +0200)
ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h

index 8b6a9db..779dba1 100644 (file)
@@ -1,6 +1,7 @@
 2011-04-03  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
+       (O_PATH): Define.
 
 2011-03-06  Andreas Schwab  <schwab@linux-m68k.org>
 
index 3bbc1bf..aecf214 100644 (file)
@@ -51,7 +51,8 @@
 #endif
 #ifdef __USE_GNU
 # define O_DIRECT      0200000 /* Direct disk access.  */
-# define O_NOATIME     01000000 /* Do not set atime.  */
+# 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.