[PATCH] lsm: remove LSM_COUNT and LSM_CONFIG_COUNT

Paul Moore paul at paul-moore.com
Mon Aug 26 23:12:17 UTC 2024


On Aug 25, 2024 Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp> wrote:
> 
> Because these are equals to MAX_LSM_COUNT. Also, we can avoid dynamic
> memory allocation for ordered_lsms because MAX_LSM_COUNT is a constant.
> 
> Signed-off-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
> ---
>  security/security.c | 37 ++++---------------------------------
>  1 file changed, 4 insertions(+), 33 deletions(-)

Looks reasonable to me, merged into lsm/dev, thanks.

--
paul-moore.com



More information about the Linux-security-module-archive mailing list