[PATCH v4 1/2] liveupdate: add LUO_SESSION_MAGIC magic inode type

Pasha Tatashin pasha.tatashin at soleen.com
Fri Apr 17 14:04:38 PDT 2026


On 04-17 21:57, luca.boccassi at gmail.com wrote:
> From: Luca Boccassi <luca.boccassi at gmail.com>
> 
> In userspace when managing LUO sessions we want to be able to identify
> a FD as a LUO session, in order to be able to do the special handling
> that they require in order to function as intended on kexec.
> 
> Currently this requires scraping procfs and doing string matching on
> the prefix of the dname, which is not an ideal interface.
> 
> Add a singleton inode type with a magic value, so that we can
> programmatically identify a fd as a LUO session via fstat().
> 
> Signed-off-by: Luca Boccassi <luca.boccassi at gmail.com>

Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>



More information about the kexec mailing list