about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-01-17 18:36:39 -0500
committerPetr Baudis <pasky@suse.cz>2011-02-03 23:15:53 +0100
commit77314ef9bd82f3256e8b29428b2d9062f2523567 (patch)
treec7db44e0c3be9267ee1f1ae9da8925ee118ca24f
parent6c1ac1d1218ca980dd910214d90faabedf16d3a2 (diff)
downloadglibc-77314ef9bd82f3256e8b29428b2d9062f2523567.tar.gz
glibc-77314ef9bd82f3256e8b29428b2d9062f2523567.tar.xz
glibc-77314ef9bd82f3256e8b29428b2d9062f2523567.zip
Define AT_NO_AUTOMOUNT.
(cherry picked from commit 620a05296fe3380b7441ba7720e8b25c48a8c28c)
-rw-r--r--ChangeLog2
-rw-r--r--io/fcntl.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e8f498ef7..5a64ac8df5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
 
+	* io/fcntl.h: Define AT_NO_AUTOMOUNT.
+
 	* sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
 	MADV_NOHUGEPAGE.
 	* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
diff --git a/io/fcntl.h b/io/fcntl.h
index 2a2a29dc70..50559cad05 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1992,1994-2001,2003,2004,2005,2006,2007, 2009
+/* Copyright (C) 1991,1992,1994-2001,2003,2004,2005,2006,2007,2009,2010,2011
 	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -64,6 +64,8 @@ __BEGIN_DECLS
 # define AT_REMOVEDIR		0x200	/* Remove directory instead of
 					   unlinking file.  */
 # define AT_SYMLINK_FOLLOW	0x400	/* Follow symbolic links.  */
+# define AT_NO_AUTOMOUNT	0x800	/* Suppress terminal automount
+					   traversal.  */
 # define AT_EACCESS		0x200	/* Test access permitted for
 					   effective IDs, not real IDs.  */
 #endif