On 2025/7/22 7:21, Paul Moore wrote: > Reviewed-by: Kees Cook <k...@kernel.org> > Signed-off-by: Paul Moore <p...@paul-moore.com> Reviewed-by: Xiu Jianfeng <xiujianf...@huawei.com> > --- > security/lockdown/lockdown.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/security/lockdown/lockdown.c b/security/lockdown/lockdown.c > index 4813f168ff93..8d46886d2cca 100644 > --- a/security/lockdown/lockdown.c > +++ b/security/lockdown/lockdown.c > @@ -161,8 +161,6 @@ static int __init lockdown_secfs_init(void) > return PTR_ERR_OR_ZERO(dentry); > } > > -core_initcall(lockdown_secfs_init); > - > #ifdef CONFIG_SECURITY_LOCKDOWN_LSM_EARLY > DEFINE_EARLY_LSM(lockdown) = { > #else > @@ -170,4 +168,5 @@ DEFINE_LSM(lockdown) = { > #endif > .id = &lockdown_lsmid, > .init = lockdown_lsm_init, > + .initcall_core = lockdown_secfs_init, > };
- Re: [RFC PATCH v2 22/34] lsm: group lsm_order_parse()... Casey Schaufler
- [RFC PATCH v2 23/34] lsm: introduce an initcall mechanism ... Paul Moore
- Re: [RFC PATCH v2 23/34] lsm: introduce an initcall m... Casey Schaufler
- [RFC PATCH v2 25/34] ipe: move initcalls to the LSM framew... Paul Moore
- [RFC PATCH v2 26/34] smack: move initcalls to the LSM fram... Paul Moore
- Re: [RFC PATCH v2 26/34] smack: move initcalls to the... Casey Schaufler
- Re: [RFC PATCH v2 26/34] smack: move initcalls to the... Roberto Sassu
- [RFC PATCH v2 27/34] tomoyo: move initcalls to the LSM fra... Paul Moore
- [RFC PATCH v2 28/34] safesetid: move initcalls to the LSM ... Paul Moore
- [RFC PATCH v2 30/34] lockdown: move initcalls to the LSM f... Paul Moore
- Re: [RFC PATCH v2 30/34] lockdown: move initcalls to ... Xiu Jianfeng
- Re: [RFC PATCH v2 30/34] lockdown: move initcalls... Paul Moore
- Re: [RFC PATCH v2 30/34] lockdown: move initc... xiujianfeng
- Re: [RFC PATCH v2 30/34] lockdown: move i... Paul Moore
- [RFC PATCH v2 33/34] lsm: consolidate all of the LSM frame... Paul Moore
- Re: [RFC PATCH v2 33/34] lsm: consolidate all of the ... Casey Schaufler
- [RFC PATCH v2 34/34] lsm: add a LSM_STARTED_ALL notificati... Paul Moore
- Re: [RFC PATCH v2 34/34] lsm: add a LSM_STARTED_ALL n... Casey Schaufler
- [RFC PATCH v2 29/34] apparmor: move initcalls to the LSM f... Paul Moore
- [RFC PATCH v2 31/34] ima,evm: move initcalls to the LSM fr... Paul Moore