Skip to content

Commit c7f7e58

Browse files
bauermannJames Morris
authored andcommitted
integrity: Remove references to module keyring
From what I can tell, it has never been used. Mimi: This was introduced prior to Rusty's decision to use appended signatures for kernel modules. Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Acked-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: James Morris <james.morris@microsoft.com>
1 parent 5580b4a commit c7f7e58

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎security/integrity/digsig.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ static const char * const keyring_name[INTEGRITY_KEYRING_MAX] = {
3434
".evm",
3535
".ima",
3636
#endif
37-
"_module",
3837
".platform",
3938
};
4039

‎security/integrity/integrity.h‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ int integrity_kernel_read(struct file *file, loff_t offset,
141141

142142
#define INTEGRITY_KEYRING_EVM 0
143143
#define INTEGRITY_KEYRING_IMA 1
144-
#define INTEGRITY_KEYRING_MODULE 2
145-
#define INTEGRITY_KEYRING_PLATFORM 3
146-
#define INTEGRITY_KEYRING_MAX 4
144+
#define INTEGRITY_KEYRING_PLATFORM 2
145+
#define INTEGRITY_KEYRING_MAX 3
147146

148147
extern struct dentry *integrity_dir;
149148

0 commit comments

Comments
 (0)