Frans Hendriks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30811 )
Change subject: lib/prog_loaders.c: Add prog_locate_hook() for measured and verified boot
......................................................................
Patch Set 2:
(3 comments)
https://review.coreboot.org/#/c/30811/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/30811/1//COMMIT_MSG@7
PS1, Line 7: lib/prog_loaders.c: Add prog_locate_hook() for measured and verified boot.
Please remove the dot/period at the end.
Done
https://review.coreboot.org/#/c/30811/1//COMMIT_MSG@9
PS1, Line 9: Before
Since x86 images are executed in place I'm pretty sure there's no way to avoid TOCTOU there (unless […]
Implementation verifies image before loading. Don't load images which does not pass verification.
https://review.coreboot.org/#/c/30811/1/src/lib/prog_loaders.c
File src/lib/prog_loaders.c:
https://review.coreboot.org/#/c/30811/1/src/lib/prog_loaders.c@43
PS1, Line 43: if (prog_locate_hook(prog))
I don't think this works? prog->rdev is still uninitialized here. […]
This code is working find on our project.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/30811
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I12207fc8f2e9ca45d048cf8c8d9c057f53e5c2c7
Gerrit-Change-Number: 30811
Gerrit-PatchSet: 2
Gerrit-Owner: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Angel Pons
th3fanbus@gmail.com
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Patrick Rudolph
siro@das-labor.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Wed, 13 Feb 2019 07:10:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Comment-In-Reply-To: Paul Menzel
paulepanter@users.sourceforge.net
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Gerrit-MessageType: comment