OSDN Git Service

LSM: Record LSM name in struct lsm_info
authorKees Cook <keescook@chromium.org>
Thu, 11 Oct 2018 00:18:24 +0000 (17:18 -0700)
committerJames Morris <james.morris@microsoft.com>
Thu, 11 Oct 2018 03:40:22 +0000 (20:40 -0700)
commit07aed2f2af5a5892ced035dbcf3993f630825fc3
tree2065a155d92f1a170c4b180162346db809b30a82
parent3d6e5f6dcf6561e57b6466e43e14029fb196028d
LSM: Record LSM name in struct lsm_info

In preparation for making LSM selections outside of the LSMs, include
the name of LSMs in struct lsm_info.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
include/linux/lsm_hooks.h
security/apparmor/lsm.c
security/integrity/iint.c
security/selinux/hooks.c
security/smack/smack_lsm.c
security/tomoyo/tomoyo.c