]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC loader fixes
authorSimon J. Gerraty <sjg@FreeBSD.org>
Sat, 29 Aug 2020 16:23:00 +0000 (16:23 +0000)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Sat, 29 Aug 2020 16:23:00 +0000 (16:23 +0000)
commit035a1427f2af23da211145fdfce5bd9fc90dffcb
tree27c165932396000abcfcecb8719f73dc8f013a89
parentccb0ccdbcba28c5f06137a7d0f05f4ef2c880321
MFC loader fixes

r361710: stand/uboot: fix setting of gateip.s_addr
Missplaced paren.

r361933: loader: install allow for more complete device spec in url

Rework to simplify and impose sane url syntax.
That is we allow for file://[devname[:fstype]]/package

r362127: verify_pcr_export: bump kenv_mvallen if needed
r362231: make KENV_MVALLEN tunable

When doing secure boot, loader wants to export loader.ve.hashed
the value of which typically exceeds KENV_MVALLEN.

Replace use of KENV_MVALLEN with tunable kenv_mvallen.

Add getenv_string_buffer() for the case where a stack buffer cannot be
created and use uma_zone_t kenv_zone for suitably sized buffers.

r364443: veloader: insist on verifying .4th .lua etc

When files are read from .rc or .4th, verify_file is asked to
guess the severity (VE_TRY,VE_WANT,VE_MUST)

Reviewed by: imp, stevek, kevans
lib/libsecureboot/verify_file.c
stand/common/install.c
stand/uboot/lib/net.c
sys/kern/kern_environment.c