]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb5b32e488989adf794d3b280676da01059fd88e
treeb5c6afc5fbffd01ca682332e2893bad477e59b9d
parentefb3c95659559498fda14b9e347157fb479756ec
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