LoadPin: Initialize as ordered LSM

This converts LoadPin from being a direct "minor" LSM into an ordered LSM.

Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Casey Schaufler <[email protected]>
This commit is contained in:
Kees Cook 2018-09-14 15:26:37 -07:00
commit 70b62c2566
4 changed files with 8 additions and 45 deletions

View file

@ -275,7 +275,6 @@ int __init security_init(void)
*/
capability_add_hooks();
yama_add_hooks();
loadpin_add_hooks();
/* Load LSMs in specified order. */
ordered_lsm_init();