freebsd-skq/stand/common
Simon J. Gerraty 53f151f906 Fix pkgfs stat so it satisfies libsecureboot
We need a valid st_dev, st_ino and st_mtime
to correctly track which files have been verified
and to update our notion of time.

ve_utc_set(): ignore utc if it would jump our current time
by more than VE_UTC_MAX_JUMP (20 years).

Allow testing of install command via userboot.
Need to fix its stat implementation too.

bhyveload also needs stat fixed - due to change to userboot.h

Call ve_error_get() from vectx_close() when hash is wrong.

Track the names of files we have hashed into pcr

For the purposes of measured boot, it is important
to be able to reproduce the hash reflected in
loader.ve.pcr
so loader.ve.hashed provides a list of names in the order they
were added.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Juniper Networks
Differential Revision:	https://reviews.freebsd.org//D24027
2020-03-25 19:12:19 +00:00
..
bcache.c command_bcache() does not use argv 2019-05-07 10:01:45 +00:00
boot.c Create kernel module to parse Veriexec manifest based on envs 2019-04-03 03:57:37 +00:00
bootstrap.h veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
commands.c loader: ignore some variable settings if input unverified 2019-07-17 23:33:14 +00:00
console.c
dev_net.c stand: dev_net: correct net_open's interpretation of params 2019-02-15 18:28:51 +00:00
dev_net.h
devopen.c loader: clean up devopen and devclose a bit 2019-12-13 08:41:37 +00:00
disk.c loader: disk_open() should honor D_PARTNONE 2019-06-06 16:27:05 +00:00
disk.h Distinguish between "no partition" and "choose best partition" with a constant. 2019-03-24 18:51:52 +00:00
help.common loader: implement map-vdisk and unmap-vdisk commands 2019-04-26 17:58:44 +00:00
install.c Fix pkgfs stat so it satisfies libsecureboot 2020-03-25 19:12:19 +00:00
interp_backslash.c Move to tabs for indentation and to 8-space notches, per style(9). 2018-02-08 17:07:27 +00:00
interp_forth.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp_lua.c interp_lua: fix bogus indentation, NFC 2020-02-12 16:10:00 +00:00
interp_parse.c Move to tabs for indentation and to 8-space notches, per style(9). 2018-02-08 17:07:27 +00:00
interp_simple.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp.c Move simple interpreter 'perform' into interp.c and call it 2018-02-07 23:27:38 +00:00
isapnp.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
load_elf.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
ls.c
Makefile.depend
md.c
merge_help.awk
metadata.c Remove sparc64 support from the boot loader. 2020-02-03 17:34:57 +00:00
misc.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
module.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
newvers.sh
part.c loader: remove libsa/crc32.c and use version from zlib 2020-03-19 21:05:11 +00:00
part.h loader: show APFS partition type name 2019-11-04 12:20:19 +00:00
paths.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
pnp.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
rbx.h
readin.h veloader use vectx API for kernel and modules 2020-03-08 18:48:01 +00:00
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Skip IRELATIVE relocations when loader processes ELF files. 2018-01-11 13:57:30 +00:00
self_reloc.c
vdisk.c loader: vdisk dereference after free 2019-12-13 08:20:20 +00:00
zfs_cmd.c Regularize my copyright notice 2019-12-04 16:56:11 +00:00