lsm: don't yet account for IMA in LSM_CONFIG_COUNT calculation
authorRoberto Sassu <roberto.sassu@huawei.com>
Thu, 26 Oct 2023 09:02:59 +0000 (11:02 +0200)
committerPaul Moore <paul@paul-moore.com>
Mon, 13 Nov 2023 03:54:42 +0000 (22:54 -0500)
commitaab30be071f7048c9c23c61e6eddd55bba328398
treef4fa919a7eef1a22c2033fc0ff0d5ae9df1c3117
parentedd71f8e266c7ba15eedfec338864e53ddde1c25
lsm: don't yet account for IMA in LSM_CONFIG_COUNT calculation

Since IMA is not yet an LSM, don't account for it in the LSM_CONFIG_COUNT
calculation, used to limit how many LSMs can invoke security_add_hooks().

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
[PM: subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/security.c