PFRU_IOC_STAGE_ACTIVATE(9)
π PFRU_IOC_STAGE_ACTIVATE(9) π
okay bestie, so this one lives in the Kernel API Manual and it's genuinely iconic β it's the ioctl that does the whole two-step in one go π no cap.
β¨ NAME β¨
PFRU_IOC_STAGE_ACTIVATE β literally defined as _IOW(PFRUT_IOCTL_MAGIC, 0x04, unsigned int) π«Ά
β¨ SYNOPSIS β¨
PFRU_IOC_STAGE_ACTIVATE
that's it. that's the whole thing. main character energy fr fr π
β¨ RETURN β¨
so here's what you can get back, and you will be checking it π
0β success π slay, it worked-EINVALβ the stage/activate phase returned an invalid result π not cute, something went wrong
β¨ DESCRIPTION β¨
bestie it does both. the stage action and the activation action, in one single call π₯ no need to hit them separately β it's giving efficiency, it's giving "why would you do two ioctls when one will do" β¨
β¨ SEE ALSO β¨
go read the kernel file ./include/uapi/linux/pfrut.h and then spiral into the whole friend group π¦:
PFRU_IOC_SET_REV(9)PFRU_IOC_STAGE(9)PFRU_IOC_ACTIVATE(9)PFRU_IOC_QUERY_CAP(9)struct pfru_payload_hdr(9)struct pfru_update_cap_info(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)
ngl this whole page is short but she ate π read the whole squad before you start poking ioctls, iykyk πΈ
okay bye ily, this page came from ./include/uapi/linux, dated October 2026, part of the Kernel API Manual β PFRU_IOC_STAGE_ACTIVATE(9) signing off π§π
π¦ 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