Ahelenia Ziemiańska 32bc256ced tools: open FIT image read-only
Open for reading as O_RDONLY instead of O_RDWR:
the only usage of the fd is for the single read() below;
this prevented
	mkimage -f auto -A arm64 \
		-T kernel -C lz4 -d Image-6.6.15.lz4 \
		-b mt8173-elm-hana-6.6.15.dtb outf
when the inputs were unwritable.

Link: https://bugs.debian.org/1063097
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
2024-04-10 09:34:53 -06:00
..
2024-03-15 08:18:54 -04:00
2019-07-29 00:20:31 +02:00
2021-01-13 02:38:00 +01:00
2024-04-10 09:34:53 -06:00
2022-01-19 18:11:34 +01:00
2023-01-27 12:51:26 -05:00
2022-01-28 17:58:41 -05:00
2023-10-04 09:25:22 -06:00
2019-11-04 18:15:32 -07:00