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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -54,14 +54,13 @@ struct lsm_ctx { · 53 unmodified lines | |||
| 54 | #define LSM_ID_SELINUX 101 | 54 | #define LSM_ID_SELINUX 101 |
| 55 | #define LSM_ID_SMACK 102 | 55 | #define LSM_ID_SMACK 102 |
| 56 | #define LSM_ID_TOMOYO 103 | 56 | #define LSM_ID_TOMOYO 103 |
| 57 | #define LSM_ID_IMA 104 | 57 | #define LSM_ID_APPARMOR 104 |
| 58 | #define LSM_ID_APPARMOR 105 | 58 | #define LSM_ID_YAMA 105 |
| 59 | #define LSM_ID_YAMA 106 | 59 | #define LSM_ID_LOADPIN 106 |
| 60 | #define LSM_ID_LOADPIN 107 | 60 | #define LSM_ID_SAFESETID 107 |
| 61 | #define LSM_ID_SAFESETID 108 | 61 | #define LSM_ID_LOCKDOWN 108 |
| 62 | #define LSM_ID_LOCKDOWN 109 | 62 | #define LSM_ID_BPF 109 |
| 63 | #define LSM_ID_BPF 110 | 63 | #define LSM_ID_LANDLOCK 110 |
| 64 | #define LSM_ID_LANDLOCK 111 | ||
| 65 | 64 | ||
| 66 | /* | 65 | /* |
| 67 | * LSM_ATTR_XXX definitions identify different LSM attributes | 66 | * LSM_ATTR_XXX definitions identify different LSM attributes |