[PATCH v4 12/19] liveupdate: Add feature header to struct luo_file_ser
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 10 22:16:47 PST 2026
> Precede each serialized file entry in a LUO file set KHO block set with
> struct kho_ser_hdr via DECLARE_KHO_SER so future per-file metadata
> features can append fields to struct luo_file_ser without breaking
> compatibility between adjacent kernels.
>
> Initialize file set block sets with kho_ser_size(luo_file_ser), initialize
> each entry feature header in luo_file_freeze(), and validate the incoming
> feature header in luo_file_deserialize_one() before accessing the struct
> luo_file_ser payload.
>
> Signed-off-by: Tarun Sahu <tarunsahu at google.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110050202.529473-1-tarunsahu@google.com?part=12
More information about the kexec
mailing list