diff options
author | Kees Cook <keescook@chromium.org> | 2018-10-10 17:18:24 -0700 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-10 20:40:22 -0700 |
commit | 07aed2f2af5a5892ced035dbcf3993f630825fc3 (patch) | |
tree | 2065a155d92f1a170c4b180162346db809b30a82 /security/tomoyo/tomoyo.c | |
parent | 3d6e5f6dcf6561e57b6466e43e14029fb196028d (diff) | |
download | linux-07aed2f2af5a5892ced035dbcf3993f630825fc3.tar.bz2 |
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>
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-rw-r--r-- | security/tomoyo/tomoyo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index b2d833999910..1b5b5097efd7 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -551,5 +551,6 @@ static int __init tomoyo_init(void) } DEFINE_LSM(tomoyo) = { + .name = "tomoyo", .init = tomoyo_init, }; |