Re: [PATCH 2/2] liveupdate: reject nonzero reserved value for SESSION_FINISH
Pratyush Yadav <[email protected]> Wed, 15 Jul 2026 16:11:37 +0200
| Newsgroups | org.infradead.lists.kexec |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 15 2026, Jackie Liu wrote: > From: Jackie Liu <[email protected]> > > The UAPI documents liveupdate_session_finish::reserved as requiring zero, > but luo_session_finish() currently ignores it and finishes the session. > Accepting nonzero values prevents the field from being safely repurposed > by a future extension. > > Reject nonzero reserved values before changing session state, matching > LIVEUPDATE_SESSION_GET_NAME. > > Fixes: 16cec0d26521 ("liveupdate: luo_session: add ioctls for file preservation") > Assisted-by: Codex:gpt-5.6-sol > Signed-off-by: Jackie Liu <[email protected]> Reviewed-by: Pratyush Yadav (Google) <[email protected]> [...] -- Regards, Pratyush Yadav