On Tue, 2025-09-16 at 18:03 -0400, Paul Moore wrote: > Currently the individual LSMs register their own initcalls, and while > this should be harmless, it can be wasteful in the case where a LSM > is disabled at boot as the initcall will still be executed. This > patch introduces support for managing the initcalls in the LSM > framework, and future patches will convert the existing LSMs over to > this new mechanism. > > Only initcall types which are used by the current in-tree LSMs are > supported, additional initcall types can easily be added in the future > if needed. > > Reviewed-by: Kees Cook <[email protected]> > Reviewed-by: Casey Schaufler <[email protected]> > Reviewed-by: John Johansen <[email protected]> > Signed-off-by: Paul Moore <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
