vfs: Convert selinuxfs to use the new mount API
authorDavid Howells <dhowells@redhat.com>
Mon, 25 Mar 2019 16:38:30 +0000 (16:38 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Jul 2019 02:01:59 +0000 (22:01 -0400)
commit920f50b2a44bbc5e332a3f84f7ad4040ee62fcc6
treea4625e03301a470f1c9222c0bf7d2f15204023b2
parent5c86d7e0433acb6f5d5f3cc2adf8ea3f6bc6bbda
vfs: Convert selinuxfs to use the new mount API

Convert the selinuxfs filesystem to the new internal mount API as the old
one will be obsoleted and removed.  This allows greater flexibility in
communication of mount parameters between userspace, the VFS and the
filesystem.

See Documentation/filesystems/mount_api.txt for more information.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Paul Moore <paul@paul-moore.com>
cc: Stephen Smalley <sds@tycho.nsa.gov>
cc: Eric Paris <eparis@parisplace.org>
cc: selinux@vger.kernel.org
cc: linux-security-module@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/selinux/selinuxfs.c