aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/system_certificates.S
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-08-30 11:07:30 -0400
committerDavid Howells <dhowells@redhat.com>2013-09-25 12:17:01 -0400
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 @@
1#include <linux/export.h>
2#include <linux/init.h>
3
4#define GLOBAL(name) \
5 .globl VMLINUX_SYMBOL(name); \
6 VMLINUX_SYMBOL(name):
7
8 __INITRODATA
9
10GLOBAL(system_certificate_list)
11 .incbin "kernel/x509_certificate_list"
12GLOBAL(system_certificate_list_end)