common: bootm: Enforce CONFIG_BOOTM_FORCE_SIGNED_IMAGES for TEE bins
PATCH 1/1 common: bootm: Enforce CONFIG_BOOTM_FORCE_SIGNED_IMAGES for TEE bins
Currently, unsigned TEE binaries can be booted. This patch ensures that CONFIG_BOOTM_FORCE_SIGNED_IMAGES is also enforced for TEE binaries.
Signed-off-by Albert Schwarzkopf <[email protected]>
--- common/bootm.c | 1 + 1 file changed, 1 insertion(+)
common/bootm.c +1 -0
@@ -592,6 +592,7 @@ int bootm_boot(struct bootm_data *bootm_data)*/ data->oftree_file =NULL ; data->initrd_file =NULL ; + data->tee_file =NULL ;if (os_type != filetype_oftree) {printf ("Signed boot and image is no FIT image, aborting\n" ); ret = -EINVAL ;
Signature · 7 lines
2.17.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 8 lines · Albert Schwarzkopf
Currently, unsigned TEE binaries can be booted. This patch ensures that
CONFIG_BOOTM_FORCE_SIGNED_IMAGESis also enforced for TEE binaries.Signed-off-by Albert Schwarzkopf <[email protected]>--- common/bootm.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox