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>
This commit is contained in:
committed by
James Morris
parent
5580b4a1a8
commit
c7f7e58fcb
@@ -34,7 +34,6 @@ static const char * const keyring_name[INTEGRITY_KEYRING_MAX] = {
|
|||||||
".evm",
|
".evm",
|
||||||
".ima",
|
".ima",
|
||||||
#endif
|
#endif
|
||||||
"_module",
|
|
||||||
".platform",
|
".platform",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -141,9 +141,8 @@ int integrity_kernel_read(struct file *file, loff_t offset,
|
|||||||
|
|
||||||
#define INTEGRITY_KEYRING_EVM 0
|
#define INTEGRITY_KEYRING_EVM 0
|
||||||
#define INTEGRITY_KEYRING_IMA 1
|
#define INTEGRITY_KEYRING_IMA 1
|
||||||
#define INTEGRITY_KEYRING_MODULE 2
|
#define INTEGRITY_KEYRING_PLATFORM 2
|
||||||
#define INTEGRITY_KEYRING_PLATFORM 3
|
#define INTEGRITY_KEYRING_MAX 3
|
||||||
#define INTEGRITY_KEYRING_MAX 4
|
|
||||||
|
|
||||||
extern struct dentry *integrity_dir;
|
extern struct dentry *integrity_dir;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user