diff options
author | David Howells <dhowells@redhat.com> | 2011-01-14 18:45:31 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-15 20:07:33 -0500 |
commit | 6f45b65672c8017d5e210e338bb5858a938ef445 (patch) | |
tree | b62877c489fb682033c37d30d91c53e4d0c3833a /include/linux/fcntl.h | |
parent | cc53ce53c86924bfe98a12ea20b7465038a08792 (diff) | |
download | linux-6f45b65672c8017d5e210e338bb5858a938ef445.tar.gz linux-6f45b65672c8017d5e210e338bb5858a938ef445.tar.bz2 linux-6f45b65672c8017d5e210e338bb5858a938ef445.zip |
Add an AT_NO_AUTOMOUNT flag to suppress terminal automount
Add an AT_NO_AUTOMOUNT flag to suppress terminal automounting of automount
point directories. This can be used by fstatat() users to permit the
gathering of attributes on an automount point and also prevent
mass-automounting of a directory of automount points by ls.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fcntl.h')
-rw-r--r-- | include/linux/fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fcntl.h b/include/linux/fcntl.h index afc00af3229b..a562fa5fb4e3 100644 --- a/include/linux/fcntl.h +++ b/include/linux/fcntl.h @@ -45,6 +45,7 @@ #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 */ #ifdef __KERNEL__ |