summaryrefslogtreecommitdiff
path: root/scripts/lib/abi/helpers.py
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2025-02-11 12:18:35 -0500
committerPaul Moore <paul@paul-moore.com>2025-10-22 19:24:24 -0400
commitcdc028812f727907d1575cf454a5f01ddffa7750 (patch)
treee7f1fbfa4d1916f6ac899123c1d25046cb59d7a3 /scripts/lib/abi/helpers.py
parent3423c6397ce21356c3c2fac0b2727d428d96cfa4 (diff)
lsm: introduce an initcall mechanism into the LSM framework
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 <kees@kernel.org> Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johhansen@canonical.com> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions