mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user