lsm: drop LSM_ID_IMA
authorPaul Moore <paul@paul-moore.com>
Wed, 18 Oct 2023 21:41:41 +0000 (17:41 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 13 Nov 2023 03:54:42 +0000 (22:54 -0500)
When IMA becomes a proper LSM we will reintroduce an appropriate
LSM ID, but drop it from the userspace API for now in an effort
to put an end to debates around the naming of the LSM ID macro.

Reviewed-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/uapi/linux/lsm.h

index eeda59a77c0264395cd80c8623bdb04fa7afde2f..f0386880a78ee6dcc38ce1433e48dc3431914cd7 100644 (file)
@@ -54,14 +54,13 @@ struct lsm_ctx {
 #define LSM_ID_SELINUX         101
 #define LSM_ID_SMACK           102
 #define LSM_ID_TOMOYO          103
-#define LSM_ID_IMA             104
-#define LSM_ID_APPARMOR                105
-#define LSM_ID_YAMA            106
-#define LSM_ID_LOADPIN         107
-#define LSM_ID_SAFESETID       108
-#define LSM_ID_LOCKDOWN                109
-#define LSM_ID_BPF             110
-#define LSM_ID_LANDLOCK                111
+#define LSM_ID_APPARMOR                104
+#define LSM_ID_YAMA            105
+#define LSM_ID_LOADPIN         106
+#define LSM_ID_SAFESETID       107
+#define LSM_ID_LOCKDOWN                108
+#define LSM_ID_BPF             109
+#define LSM_ID_LANDLOCK                110
 
 /*
  * LSM_ATTR_XXX definitions identify different LSM attributes