From: Ulrich Drepper Date: Mon, 17 Jan 2011 23:36:39 +0000 (-0500) Subject: Define AT_NO_AUTOMOUNT. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77314ef9bd82f3256e8b29428b2d9062f2523567;p=thirdparty%2Fglibc.git Define AT_NO_AUTOMOUNT. (cherry picked from commit 620a05296fe3380b7441ba7720e8b25c48a8c28c) --- diff --git a/ChangeLog b/ChangeLog index 2e8f498ef7e..5a64ac8df5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-01-17 Ulrich Drepper + * 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 2a2a29dc70b..50559cad05b 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