Files
kernel_google_redbull/include/linux/module.h
Kees Cook 8d00c97b90 UPSTREAM: LSM: Convert from initcall to struct lsm_info
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.

Change-Id: Iaf34d60dae8648c6c6c4d29c5d2c034db2684ef0
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
2025-09-08 17:27:52 +03:00

23 KiB