[PATCH 04/18] LSM: Convert from initcall to struct lsm_info

2018-09-15 Thread Kees Cook
In preparation for doing more interesting LSM init probing, this converts the existing initcall system into an explicit call into a function pointer from a section-collected struct lsm_info array. Signed-off-by: Kees Cook --- include/linux/init.h | 2 -- include/linux/lsm_hooks.h | 12

[PATCH 04/18] LSM: Convert from initcall to struct lsm_info

2018-09-15 Thread Kees Cook
In preparation for doing more interesting LSM init probing, this converts the existing initcall system into an explicit call into a function pointer from a section-collected struct lsm_info array. Signed-off-by: Kees Cook --- include/linux/init.h | 2 -- include/linux/lsm_hooks.h | 12