[PATCH v4 10/19] liveupdate: Add feature header to struct luo_session_ser

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 10 22:16:43 PST 2026


> Precede each serialized session entry in the LUO session KHO block set
> with struct kho_ser_hdr via DECLARE_KHO_SER so future session features can
> append fields to struct luo_session_ser without breaking compatibility
> between adjacent kernels.
> 
> Size session block-set entries using kho_ser_size(luo_session_ser),
> initialize each entry feature header during luo_session_serialize(), and
> validate the incoming feature header in luo_session_deserialize_one()
> before accessing the struct luo_session_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=10




More information about the kexec mailing list