Skip to content

Commit 80b4ff1

Browse files
committed
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>
1 parent afe576a commit 80b4ff1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/testing/selftests/lsm/lsm_list_modules_test.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ TEST(correct_lsm_list_modules)
101101
case LSM_ID_TOMOYO:
102102
name = "tomoyo";
103103
break;
104-
case LSM_ID_IMA:
105-
name = "ima";
106-
break;
107104
case LSM_ID_APPARMOR:
108105
name = "apparmor";
109106
break;

0 commit comments

Comments
 (0)