]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define O_PATH.
authorUlrich Drepper <drepper@gmail.com>
Fri, 1 Apr 2011 15:46:10 +0000 (11:46 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 1 Apr 2011 15:46:10 +0000 (11:46 -0400)
ChangeLog
sysdeps/unix/sysv/linux/i386/bits/fcntl.h
sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
sysdeps/unix/sysv/linux/s390/bits/fcntl.h
sysdeps/unix/sysv/linux/sh/bits/fcntl.h
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h

index aa6277a66149bfcdb86134bc5128755afebab56f..1800170fde4098c17fdaa7f07b1393b3091e3d45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
 
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+
        * io/Makefile: Compile fallocate.c, fallocate64.c, and
        sync_file_range.c with -fexceptions.
        * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
index 51a18c2af267581102ca7a5fda9e3ecde60874e7..e7a237eb743e5c24c035e3e9168fef3b2b4b4b5b 100644 (file)
@@ -53,6 +53,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT       040000 /* 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.
index 0421d14bd365ed8e04d400484395e394cd75cac9..30df16db20f11754fca57b1d21ad3261e3259b87 100644 (file)
@@ -53,6 +53,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT      040000
 # define O_NOATIME     01000000 /* Do not set atime.  */
+# define O_PATH                010000000 /* Resolve pathname but do not open file.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
index ea760f64a2fd346f2bfc23725440bc827d64f1c7..e533ed1b69dd7ea417ec1e2bc8fe34fbc0cb6735 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/PowerPC.
-   Copyright (C) 1995-1998, 2000, 2003, 2004, 2006, 2007, 2009, 2010
+   Copyright (C) 1995-1998, 2000, 2003, 2004, 2006, 2007, 2009, 2010, 2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -53,6 +53,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT      0400000 /* Direct disk access.  */
 # define O_NOATIME     01000000 /* Do not set atime.  */
+# define O_PATH                010000000 /* Resolve pathname but do not open file.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
index 4226b9c9ac1a6325192d555a8f93e2b6fce68250..b5ea6a9a5dd3ac37c022bbdd6519915244bfb52f 100644 (file)
@@ -54,6 +54,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT       040000 /* Direct disk access.  */
 # define O_NOATIME     01000000 /* Do not set atime.  */
+# define O_PATH              010000000 /* Resolve pathname but do not open file.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
index 35f30f9e7b53a019b475715387a42f8ebb017f90..784822cabfa65baba1e992f7ea7b12f93c7e25e0 100644 (file)
@@ -54,6 +54,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT       040000 /* 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.
index 468b8cf8d949bb2616a66e312a2310ca1077d887..544ff361e5fa61c8a6c99a6efd1df7f8a35fd45f 100644 (file)
@@ -52,6 +52,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT      0x100000 /* direct disk access hint */
 # define O_NOATIME     0x200000 /* Do not set atime.  */
+# define O_PATH                0x1000000 /* Resolve pathname but do not open file.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
index 925c813cb7ac7167a2f65386f347f3611f61840a..f4a888d09625cd239eca1f40365b50460d2744cc 100644 (file)
@@ -54,6 +54,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT       040000 /* 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.