]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: kill selinux_sb_get_mnt_opts()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Dec 2018 05:24:36 +0000 (00:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Dec 2018 16:48:15 +0000 (11:48 -0500)
commit65a5742129648e16bf52f94c92ffe189e0dafcdc
tree9fb393250ec2446ded96fa641630ed0dfeb68dfe
parent195ff06705c3149fe1fb8e9bbe414f5b64ef9d82
selinux: kill selinux_sb_get_mnt_opts()

it's much easier to just do the right thing in ->sb_show_options(),
without bothering with allocating and populating arrays, etc.

Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/selinux/hooks.c