003 File Manager
Current Path:
/usr/src/lib/libsecureboot
usr
/
src
/
lib
/
libsecureboot
/
📁
..
📄
Makefile
(126 B)
📄
Makefile.depend
(258 B)
📄
Makefile.depend.amd64
(258 B)
📄
Makefile.depend.host
(192 B)
📄
Makefile.inc
(4.6 KB)
📄
Makefile.libsa.inc
(1.48 KB)
📄
README.rst
(4.22 KB)
📄
brf.c
(8.38 KB)
📁
efi
📁
h
📄
libsecureboot-priv.h
(2.6 KB)
📄
local.trust.mk
(2.77 KB)
📁
openpgp
📄
pass_manifest.c
(3.81 KB)
📄
readfile.c
(2.03 KB)
📁
tests
📄
vectx.c
(9.06 KB)
📄
veopen.c
(10.37 KB)
📄
vepcr.c
(4.14 KB)
📄
verify_file.c
(13.39 KB)
📄
vesigned.c
(2.13 KB)
📄
veta.c
(2.83 KB)
📄
vets.c
(22.51 KB)
Editing: Makefile.libsa.inc
# $FreeBSD$ BRSSL_CFLAGS+= -DNO_STDIO .include "Makefile.inc" # for "measured boot" # loader puts the equivalent of TPM's PCR register into kenv # this is not as good but *way* simpler than talking to TPM CFLAGS+= -DVE_PCR_SUPPORT # sources that only apply to libsa SRCS+= \ vectx.c \ veopen.c \ vepcr.c \ verify_file.c \ # Build library with support for the UEFI based authentication .if ${MK_LOADER_EFI_SECUREBOOT} == "yes" SRCS+= \ efi/efi_variables.c \ efi/efi_init.c # Add includes required by efi part CFLAGS+= \ -I${SRCTOP}/stand/efi/include \ -I${SRCTOP}/lib/libsecureboot/efi/include \ -I${SRCTOP}/stand/efi/include/${MACHINE} .endif .if ${MK_LOADER_VERIEXEC_PASS_MANIFEST} == "yes" SRCS+= \ pass_manifest.c .endif # this is the list of paths (relative to a file # that we need to verify) used to find a signed manifest. # the signature extensions in VE_SIGNATURE_EXT_LIST # will be applied to each. VE_MANIFEST_LIST?= manifest ../manifest verify_file.o: manifests.h manifests.h: @( echo '/* Autogenerated - DO NOT EDIT!!! */'; echo; \ echo "static const char *manifest_names[] = {"; \ echo '${VE_MANIFEST_LIST:@m@"$m",${.newline}@}'; \ echo 'NULL };' ) > ${.TARGET} XCFLAGS.verify_file+= \ -DVE_DEBUG_LEVEL=${VE_DEBUG_LEVEL:U0} \ -DVE_VERBOSE_DEFAULT=${VE_VERBOSE_DEFAULT:U0} \ .if !empty(MANIFEST_SKIP_ALWAYS) XCFLAGS.verify_file+= -DMANIFEST_SKIP_ALWAYS=\"${MANIFEST_SKIP_ALWAYS}\" .elif !empty(MANIFEST_SKIP) XCFLAGS.verify_file+= -DMANIFEST_SKIP=\"${MANIFEST_SKIP}\" .endif
Upload File
Create Folder