[PATCH 1/2] hppa: Define O_PATH.

Matt Turner mattst88@gmail.com
Fri Apr 27 23:35:00 GMT 2012


04-27-2012  Matt Turner  <mattst88@gmail.com>

	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_PATH): Define.
---
 sysdeps/unix/sysv/linux/hppa/bits/fcntl.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index c0e949e..55a66e5 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -1,6 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995-1999, 2000, 2002, 2004, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1995-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -53,6 +52,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT	 040000	/* Direct disk access.	*/
 # define O_NOATIME	004000000 /* Do not set atime.  */
+# define O_PATH		020000000 /* Resolve pathname but do not open file.  */
 #endif
 
 /* For now Linux has synchronisity options for data and read operations.
-- 
1.7.3.4



More information about the Libc-ports mailing list