[PATCH v4 16/19] selftests/liveupdate: Test memfds and LUO interactions in luo_tmpfs

sashiko-bot at kernel.org sashiko-bot at kernel.org
Wed Nov 11 16:31:28 PST 2026


> Add test cases to luo_tmpfs that check that memfds are retrieved as
> memfds, with their seals and file position, and only without a retrieve
> argument, while tmpfs files can only be retrieved with one.
> 
> Also check that invalid retrieve arguments fail and can be retried after
> fixing them. Retrieving a token again fails with -EBUSY with an
> argument, and returns the same open file without one. Files can't be
> retrieved from outgoing sessions. A file that LUO already manages can't
> be the target, whether it is preserved in an outgoing session or was
> already retrieved.
> 
> Signed-off-by: David Matlack <dmatlack at google.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261111002358.1842967-1-dmatlack@google.com?part=16




More information about the kexec mailing list