summaryrefslogtreecommitdiff
path: root/kernel/system_certificates.S
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-07-20 21:16:34 +0100
committerDavid Howells <dhowells@redhat.com>2015-08-12 17:01:01 +0100
commit770f2b98760ef0500183d7206724aac762433e2d (patch)
tree014b2558c14bfdb67f2e6b464f9fcddf1194afc3 /kernel/system_certificates.S
parent84706caae9e06363db4f956cde4f9715ce5c0ef3 (diff)
downloadlwn-770f2b98760ef0500183d7206724aac762433e2d.tar.gz
lwn-770f2b98760ef0500183d7206724aac762433e2d.zip
modsign: Use extract-cert to process CONFIG_SYSTEM_TRUSTED_KEYS
Fix up the dependencies somewhat too, while we're at it. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'kernel/system_certificates.S')
-rw-r--r--kernel/system_certificates.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/system_certificates.S b/kernel/system_certificates.S
index 3e9868d47535..6ba2f75e7ba5 100644
--- a/kernel/system_certificates.S
+++ b/kernel/system_certificates.S
@@ -7,6 +7,9 @@
.globl VMLINUX_SYMBOL(system_certificate_list)
VMLINUX_SYMBOL(system_certificate_list):
__cert_list_start:
+#ifdef CONFIG_MODULE_SIG
+ .incbin "signing_key.x509"
+#endif
.incbin "kernel/x509_certificate_list"
__cert_list_end: