On Tue, Oct 20 2026, Pasha Tatashin wrote: > Provide luo_session_freeze() in the liveupdate test library and add unit > tests in liveupdate.c covering the LIVEUPDATE_SESSION_FREEZE ioctl. The > tests verify that non-zero reserved bits are rejected with -EINVAL, an > outgoing session with preserved files can be frozen early, freezing an > already frozen session returns -EBUSY, and attempting to preserve an > additional file descriptor into a frozen session fails with -EBUSY. > > Also freeze the test session early in luo_kexec_simple.c to exercise > LIVEUPDATE_SESSION_FREEZE across a kexec reboot, and verify that > attempting to freeze a retrieved incoming session returns -EINVAL. > > Signed-off-by: Pasha Tatashin <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]> [...] -- Regards, Pratyush Yadav
