PFRU_IOC_STAGE_ACTIVATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ¦‹:


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