# Re: \[PATCH security-next v3 05/29\] LSM: Convert from initcall to struct lsm\_info

- From: James Morris \<jmorris@namei.org\>
- Date: 2018-10-01 19:59:46 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2018/10/5396274
- Thread: https://ratatoskr.run/linux-security-module/2018/09/5390136/t.md

```text
On Mon, 24 Sep 2018, Kees Cook wrote:

> 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.
> 
> Cc: James Morris <jmorris@namei.org>
> Cc: "Serge E. Hallyn" <serge@hallyn.com>
> Cc: Ard Biesheuvel <redacted>
> Cc: Paul Moore <paul@paul-moore.com>
> Cc: <redacted>
> Signed-off-by: Kees Cook <redacted>


Reviewed-by: James Morris <redacted>


-- 
James Morris
[ref]

```
