diff options
| author | Paul Moore <paul@paul-moore.com> | 2025-02-11 18:24:04 -0500 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2025-10-22 19:24:22 -0400 |
| commit | 27be5600fe852c52d5b70f4ac9406879b39c864e (patch) | |
| tree | 6c00aa59301798a0550dffc9d676edb658b2a9f3 /security/security.c | |
| parent | 291271e691740003021cf5b48fa7cf7e3371eaa7 (diff) | |
lsm: cleanup initialize_lsm() and rename to lsm_init_single()
Rename initialize_lsm() to be more consistent with the rest of the LSM
initialization changes and rework the function itself to better fit
with the "exit on fail" coding pattern.
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions