]> Gentwo Git Trees - linux/.git/commit
lsm: rename/rework append_ordered_lsm() into lsm_order_append()
authorPaul Moore <paul@paul-moore.com>
Wed, 16 Jul 2025 19:04:10 +0000 (15:04 -0400)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:21 +0000 (19:24 -0400)
commit24a9c58978ee368cbd796a03cb6e8ade6e0b6f5f
treee15127025000d6be5f56e2ae00b86913b5837fa0
parenta748372a282ae1e23d5d4b14a3e190c28764cfd2
lsm: rename/rework append_ordered_lsm() into lsm_order_append()

Rename append_ordered_lsm() to lsm_order_append() to better match
convention and do some rework.  The rework includes moving the
LSM_FLAG_EXCLUSIVE logic from lsm_prepare() to lsm_order_append()
in order to consolidate the individual LSM append/activation code,
and adding logic to skip appending explicitly disabled LSMs to the
active LSM list.

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