summaryrefslogtreecommitdiff
path: root/kernel/modsign_certificate.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/modsign_certificate.S')
-rw-r--r--kernel/modsign_certificate.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/modsign_certificate.S b/kernel/modsign_certificate.S
new file mode 100644
index 0000000..4a9a86d
--- /dev/null
+++ b/kernel/modsign_certificate.S
@@ -0,0 +1,12 @@
+#include <linux/export.h>
+
+#define GLOBAL(name) \
+ .globl VMLINUX_SYMBOL(name); \
+ VMLINUX_SYMBOL(name):
+
+ .section ".init.data","aw"
+
+GLOBAL(modsign_certificate_list)
+ .incbin "signing_key.x509"
+ .incbin "extra_certificates"
+GLOBAL(modsign_certificate_list_end)