]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
integrity: Remove references to module keyring
authorThiago Jung Bauermann <bauerman@linux.ibm.com>
Thu, 13 Dec 2018 01:39:09 +0000 (23:39 -0200)
committerJames Morris <james.morris@microsoft.com>
Mon, 17 Dec 2018 22:09:39 +0000 (14:09 -0800)
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>
security/integrity/digsig.c
security/integrity/integrity.h

index 71c3200521d66da7a50f9970f24250641d168a5f..f45d6edecf99a187c0e251f4a135b084945b2cfc 100644 (file)
@@ -34,7 +34,6 @@ static const char * const keyring_name[INTEGRITY_KEYRING_MAX] = {
        ".evm",
        ".ima",
 #endif
-       "_module",
        ".platform",
 };
 
index 3517d2852a07a1872d0e20e5c42c242144df9c58..7de59f44cba3b3f9d32d15d864c1b5e8fe0861ac 100644 (file)
@@ -141,9 +141,8 @@ int integrity_kernel_read(struct file *file, loff_t offset,
 
 #define INTEGRITY_KEYRING_EVM          0
 #define INTEGRITY_KEYRING_IMA          1
-#define INTEGRITY_KEYRING_MODULE       2
-#define INTEGRITY_KEYRING_PLATFORM     3
-#define INTEGRITY_KEYRING_MAX          4
+#define INTEGRITY_KEYRING_PLATFORM     2
+#define INTEGRITY_KEYRING_MAX          3
 
 extern struct dentry *integrity_dir;