v1
2026-09-05
liveupdate: Move to feature flags for LUO and memfd ABI compatibility · v1
将Live Update兼容字符串改为feature位掩码supported/active/required,支持增量兼容。
原始补丁链接
子 Patch(3)
1/3
luo: Move to feature flags instead of compatibility strings
Define a 128 byte header that can be used by all live update serialized structures. In this header, we reserve room for 64 features with supported, active, and required bits. Update the top level luo
2/3
luo: Export feature support to vmlinux section
Create a liveupdate_features section that contains the feature information for a given liveupdate component. Add the LUO component first. These can be compared between two kernels to determine live up
3/3
luo: memfd: Move to feature flags instead of compatibility strings
Update struct memfd_luo_ser to embed struct luo_feature_hdr features. Define feature flags for memfd (MEMFD_LUO_FEATURE_SEALS and MEMFD_LUO_FEATURE_FOLIOS), emit the liveupdate feature entry for memfd