autofs: make dev ioctl version and ismountpoint user accessible
authorIan Kent <raven@themaw.net>
Fri, 8 Sep 2017 23:16:30 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Sep 2017 01:26:50 +0000 (18:26 -0700)
commit3dd8f7c3b78b9556582fd64bf5c9986723f9dca1
tree02cb565c68f46f04adf611410621eb5d23282569
parente54c7bcbf14a25dc3a913b4c808b52121c522e9b
autofs: make dev ioctl version and ismountpoint user accessible

Some of the autofs miscellaneous device ioctls need to be accessable to
user space applications without CAP_SYS_ADMIN to get information about
autofs mounts.

Link: http://lkml.kernel.org/r/150216642517.11652.2338933266137331637.stgit@pluto.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Colin Walters <walters@redhat.com>
Cc: Ondrej Holy <oholy@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/dev-ioctl.c
include/uapi/linux/auto_dev-ioctl.h