Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-3
-3
tools/testing/selftests/lsm/lsm_list_modules_test.c
··· 101 101 case LSM_ID_TOMOYO: 102 102 name = "tomoyo"; 103 103 break; 104 - case LSM_ID_IMA: 105 - name = "ima"; 106 - break; 107 104 case LSM_ID_APPARMOR: 108 105 name = "apparmor"; 109 106 break;