diff options
| author | Kees Cook <[email protected]> | 2018-10-10 17:18:24 -0700 |
|---|---|---|
| committer | James Morris <[email protected]> | 2018-10-10 20:40:22 -0700 |
| commit | 07aed2f2af5a5892ced035dbcf3993f630825fc3 (patch) | |
| tree | 2065a155d92f1a170c4b180162346db809b30a82 /include/linux | |
| parent | 3d6e5f6dcf6561e57b6466e43e14029fb196028d (diff) | |
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 <[email protected]>
Reviewed-by: Casey Schaufler <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/lsm_hooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 9c6b4198ff5a..ae159b02f3ab 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -2040,6 +2040,7 @@ extern void security_add_hooks(struct security_hook_list *hooks, int count, char *lsm); struct lsm_info { + const char *name; /* Required. */ int (*init)(void); /* Required. */ }; |