]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lsm: rename/rework ordered_lsm_parse() to lsm_order_parse()
authorPaul Moore <paul@paul-moore.com>
Sun, 13 Jul 2025 21:51:12 +0000 (17:51 -0400)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:21 +0000 (19:24 -0400)
commit752db06571816a3870b17814882425318b5ec0ef
treed2b1bb1723ec65939242b36f6f87b1d607d03f27
parent24a9c58978ee368cbd796a03cb6e8ade6e0b6f5f
lsm: rename/rework ordered_lsm_parse() to lsm_order_parse()

Rename ordered_lsm_parse() to lsm_order_parse() for the sake of
consistency with the other LSM initialization routines, and also
do some minor rework of the function.  Aside from some minor style
decisions, the majority of the rework involved shuffling the order
of the LSM_FLAG_LEGACY and LSM_ORDER_FIRST code so that the
LSM_FLAG_LEGACY checks are handled first; it is important to note
that this doesn't affect the order in which the LSMs are registered.

Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johhansen@canonical.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm_init.c