generic: deny write to uImage.FIT sub-image partitions
authorDaniel Golle <daniel@makrotopia.org>
Tue, 11 Jan 2022 00:00:36 +0000 (00:00 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 11 Jan 2022 00:06:16 +0000 (00:06 +0000)
commitf2c3875dfcbf82d993ebe20f9563125c5fde2c60
treea5e0bef99224f2bd994de33376e206d48b97d9ea
parent8cdc356f8c30b55698d5f57abbd1f3e16d8c653e
generic: deny write to uImage.FIT sub-image partitions

Set policy bit to force read-only mode on uImage.FIT filesystem
sub-images mapped as block partitions by the FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/files/block/partitions/fit.c
target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch