STRUCT PFRU_UPDATE_CAP_INFO(9)
π NAME
struct pfru_update_cap_info β bestie, this is the runtime update capability information struct, and it's lowkey the main character of the PFRU update flow β¨
πΈ SYNOPSIS
struct pfru_update_cap_info {
__u32 status;
__u32 update_cap;
__u8 code_type[16];
__u32 fw_version;
__u32 code_rt_version;
__u8 drv_type[16];
__u32 drv_rt_version;
__u32 drv_svn;
__u8 platform_id[16];
__u8 oem_id[16];
__u32 oem_info_len;
};
Ok so like, that's the whole vibe right there β copy it exactly, no notes π«Ά
π§© Members
Every field, every detail, no skips, we ate π
statusβ tells you whether this query actually succeeded. It's the vibe check for the whole struct, ngl.update_capβ a bitmap, and it's giving "which features are supported, queen?" π₯ Each bit is a yes/no.code_typeβ a buffer holding an image type GUID. Very official, very iconic.fw_versionβ the platform firmware version. Classic.code_rt_versionβ the code injection runtime version, and it exists for anti-rollback purposes π (yes bestie, it's the "don't let anyone downgrade you" field, honestly so real of it).drv_typeβ another buffer, also holding an image type GUID. Same energy ascode_type, different field πdrv_rt_versionβ the version of the driver update runtime code. Periodt.drv_svnβ the secure version number (SVN) of that driver update runtime code. It's the security girlie of the group πplatform_idβ a buffer containing a platform ID GUID. Slay.oem_idβ a buffer containing an OEM ID GUID. Also slay β¨oem_info_lenβ the length of the buffer that holds the vendor specific information. So like, how much vendor lore there is π
π¦ SEE ALSO
Ok so first up, the actual kernel file you wanna peek at:
./include/uapi/linux/pfrut.h
And then the whole friend group π literally all of these, go read them:
PFRU_IOC_SET_REV(9)PFRU_IOC_STAGE(9)PFRU_IOC_ACTIVATE(9)PFRU_IOC_STAGE_ACTIVATE(9)PFRU_IOC_QUERY_CAP(9)struct pfru_payload_hdr(9)struct pfru_com_buf_info(9)struct pfru_updated_result(9)struct pfrt_log_data_info(9)struct pfrt_log_info(9)PFRT_LOG_IOC_SET_INFO(9)PFRT_LOG_IOC_GET_INFO(9)PFRT_LOG_IOC_GET_DATA_INFO(9)
bestie reminder π«Ά everything above lives in ./include/uapi/linux and this absolute queen of a page is dated October 2026. Go off π
mwah π that's the whole page, no cap β source ./include/uapi/linux, dated October 2026, from the Kernel API Manual. Stan. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms