selftests: remove the LSM_ID_IMA check in lsm/lsm_list_modules_test
The IMA LSM ID token was removed as IMA isn't yet a proper LSM, but we forgot to remove the check from the selftest. Reported-by: kernel test robot <yujie.liu@intel.com> Closes: https://lore.kernel.org/r/202311221047.a9Dww3vY-lkp@intel.com/ Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
afe576a620
commit
80b4ff1d2c
@ -101,9 +101,6 @@ TEST(correct_lsm_list_modules)
|
||||
case LSM_ID_TOMOYO:
|
||||
name = "tomoyo";
|
||||
break;
|
||||
case LSM_ID_IMA:
|
||||
name = "ima";
|
||||
break;
|
||||
case LSM_ID_APPARMOR:
|
||||
name = "apparmor";
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user