summaryrefslogtreecommitdiff
path: root/kernel/system_certificates.S
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-08-30 16:07:30 +0100
committerDavid Howells <dhowells@redhat.com>2013-09-25 17:17:01 +0100
commitb56e5a17b6b9acd16997960504b9940d0d7984e7 (patch)
tree3041aadaf0eb3e79c0a5d1e7f9715489340f868a /kernel/system_certificates.S
parent0fbd39cf7ffe3b6a787b66b672d21b84e4675352 (diff)
KEYS: Separate the kernel signature checking keyring from module signing
Separate the kernel signature checking keyring from module signing so that it can be used by code other than the module-signing code. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'kernel/system_certificates.S')
-rw-r--r--kernel/system_certificates.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/system_certificates.S b/kernel/system_certificates.S
new file mode 100644
index 000000000000..552d47b2d463
--- /dev/null
+++ b/kernel/system_certificates.S
@@ -0,0 +1,12 @@
+#include <linux/export.h>
+#include <linux/init.h>
+
+#define GLOBAL(name) \
+ .globl VMLINUX_SYMBOL(name); \
+ VMLINUX_SYMBOL(name):
+
+ __INITRODATA
+
+GLOBAL(system_certificate_list)
+ .incbin "kernel/x509_certificate_list"
+GLOBAL(system_certificate_list_end)