]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: remove the LSM_ID_IMA check in lsm/lsm_list_modules_test
authorPaul Moore <paul@paul-moore.com>
Wed, 22 Nov 2023 16:02:44 +0000 (11:02 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Nov 2023 16:04:31 +0000 (11:04 -0500)
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>
tools/testing/selftests/lsm/lsm_list_modules_test.c

index 445c02f09c740c72e88fc536c2cbe8af466ff03e..9df29b1e34978e942e1f6ec174032b35469946d9 100644 (file)
@@ -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;