aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2024-08-16 15:43:04 +0000
committerPaul Moore <[email protected]>2024-08-20 18:05:33 +0000
commit77b644c39d6afc0b2985807c74d95335931f6403 (patch)
treee0b5a54e80ec176accfc0e2cdd5046e7855fd85f /security/selinux/hooks.c
parentMAINTAINERS: add IPE entry with Fan Wu as maintainer (diff)
downloadkernel-77b644c39d6afc0b2985807c74d95335931f6403.tar.gz
kernel-77b644c39d6afc0b2985807c74d95335931f6403.zip
init/main.c: Initialize early LSMs after arch code, static keys and calls.
With LSMs using static calls and static keys, early_lsm_init needs to wait for setup_arch for architecture specific functionality which includes jump tables and static calls to be initialized. Since not all architectures call jump_table_init in setup_arch, explicitly call both jump_table_init and static_call_init before early_security_init. This only affects "early LSMs" i.e. only lockdown when CONFIG_SECURITY_LOCKDOWN_LSM_EARLY is set. Tested-by: Guenter Roeck <[email protected]> Signed-off-by: KP Singh <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions