]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - certs/system_certificates.S
objtool: Treat .text.__x86.* as noinstr
[mirror_ubuntu-jammy-kernel.git] / certs / system_certificates.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b92021b0 2#include <linux/export.h>
b56e5a17 3#include <linux/init.h>
919aa45e 4
b56e5a17 5 __INITRODATA
919aa45e 6
62226983 7 .align 8
c4df32c8
MY
8 .globl system_certificate_list
9system_certificate_list:
62226983 10__cert_list_start:
6cbdfb3d 11__module_cert_start:
781a5739
NJ
12#if defined(CONFIG_MODULE_SIG) || (defined(CONFIG_IMA_APPRAISE_MODSIG) \
13 && defined(CONFIG_MODULES))
cfc411e7 14 .incbin "certs/signing_key.x509"
770f2b98 15#endif
6cbdfb3d 16__module_cert_end:
cfc411e7 17 .incbin "certs/x509_certificate_list"
62226983
HB
18__cert_list_end:
19
c4c36105 20#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
c4df32c8 21 .globl system_extra_cert
c4c36105 22 .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
c4df32c8 23system_extra_cert:
c4c36105
MK
24 .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
25
0d1db3e3 26 .align 4
c4df32c8
MY
27 .globl system_extra_cert_used
28system_extra_cert_used:
c4c36105
MK
29 .int 0
30
31#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
32
62226983 33 .align 8
c4df32c8
MY
34 .globl system_certificate_list_size
35system_certificate_list_size:
62226983
HB
36#ifdef CONFIG_64BIT
37 .quad __cert_list_end - __cert_list_start
38#else
39 .long __cert_list_end - __cert_list_start
40#endif
6cbdfb3d
NJ
41
42 .align 8
43 .globl module_cert_size
44module_cert_size:
45#ifdef CONFIG_64BIT
46 .quad __module_cert_end - __module_cert_start
47#else
48 .long __module_cert_end - __module_cert_start
49#endif