LSM: turn sb_eat_lsm_opts() into a method
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Dec 2018 01:13:29 +0000 (20:13 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Dec 2018 16:47:41 +0000 (11:47 -0500)
commit5b4002391153acebce2557af318bbdc17e235134
treeb5c6afc5fbffd01ca682332e2893bad477e59b9d
parent6a0440e5b7562512c021aa1b5a706fcc545773db
LSM: turn sb_eat_lsm_opts() into a method

Kill ->sb_copy_data() - it's used only in combination with immediately
following ->sb_parse_opts_str().  Turn that combination into a new
method.

This is just a mechanical move - cleanups will be the next step.

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