aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2023-11-22 11:02:44 -0500
committerPaul Moore <[email protected]>2023-11-22 11:04:31 -0500
commit80b4ff1d2c9bc7e20b82d18535a27fa32dffa1dd (patch)
treea890ab46d57fc8ccf39583af4a56639840233803
parentafe576a62062cf944372fff2b6510b621ec454f2 (diff)
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 <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Acked-by: Casey Schaufler <[email protected]> Signed-off-by: Paul Moore <[email protected]>
-rw-r--r--tools/testing/selftests/lsm/lsm_list_modules_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/lsm/lsm_list_modules_test.c b/tools/testing/selftests/lsm/lsm_list_modules_test.c
index 445c02f09c74..9df29b1e3497 100644
--- a/tools/testing/selftests/lsm/lsm_list_modules_test.c
+++ b/tools/testing/selftests/lsm/lsm_list_modules_test.c
@@ -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;