PFRU_IOC_SET_REV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… PFRU_IOC_SET_REV(9) β€” the Kernel API Manual, but make it make sense

okay bestie, welcome to the Kernel API Manual ✨ this little page is literally all about PFRU_IOC_SET_REV, and it's giving "tiny ioctl, very important job" energy. no cap, we're gonna get you comfy with it 🫢


🌸 NAME 🌸

PFRU_IOC_SET_REV β€” which is, and I need you to see this exactly:

_IOW(PFRUT_IOCTL_MAGIC, 0x01, unsigned int)

like, that's the whole name section. iconic. it's the ioctl and its literal encoding, periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

PFRU_IOC_SET_REV

that's it, that's the synopsis. short and slay, no arguments listed here ✨


⭐ RETURN ⭐

okay so here's the vibe check on what you get back πŸ‘‡

  • 0 β€” success πŸŽ€ it worked, we love that for you
  • -EFAULT β€” fail to read the revision id 😭 like, the read just did not happen
  • -EINVAL β€” user provides an invalid revision id πŸ™ˆ bestie, that value is not it
fr fr, these are the exact three outcomes listed here. no guessing, no extra secret return codes, i'm not gonna invent lore πŸ’€

πŸ’– DESCRIPTION πŸ’–

the whole point of this one is so simple it's giving main character: it Sets the Revision ID for Platform Firmware Runtime Update ✨πŸ”₯

that's the entire job. revision id go set. firmware runtime update business handled. periodt πŸ‘‘


🌈 SEE ALSO 🌈

go look at the kernel file here, it's the source of truth bestie πŸ’œ

./include/uapi/linux/pfrut.h

and then we have the whole friend group of related ioctls and structs β€” all of these, exactly as listed, no skips ✨:

like, read the whole squad, iykyk πŸ§šπŸ’…


aaaand that's the page πŸŽ€ shoutout to Linux for the source/version, dated October 2026, living under ./include/uapi/linux β€” mwah, bye bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from