STRUCT SCIFIOCTL_REG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to struct scifioctl_reg(9) from the Kernel API Manual ✨ β€” this is the struct that's literally the main character for the SCIF_REG IOCTL. that's it, that's the vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole glow-up, copy it exactly, no cap:

struct scifioctl_reg {
    __u64 addr;
    __u64 len;
    __s64 offset;
    __s32 prot;
    __s32 flags;
    __s64 out_offset;
 };

🌸 Members 🌸

every field gets its moment, periodt πŸ’…

  • addr β€” the starting virtual address, like where the whole thing begins πŸ—ΊοΈ
  • len β€” length of range, aka how much of it we're talking about πŸ“
  • offset β€” offset of window, the little shift situation ✨
  • prot β€” read/write protection, so you know what's allowed πŸ”
  • flags β€” flags. that's... the flags. they're flags, bestie 🚩
  • out_offset β€” the offset that gets returned to you 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

go check out the Kernel file ./include/uapi/linux/scif_ioctl.h (iykyk 🌈) and also these iconic siblings:

  • struct scif_port_id(9)
  • struct scifioctl_connect(9)
  • struct scifioctl_accept(9)
  • struct scifioctl_msg(9)
  • struct scifioctl_unreg(9)
  • struct scifioctl_copy(9)
  • struct scifioctl_fence_mark(9)
  • struct scifioctl_fence_signal(9)
  • struct scifioctl_node_ids(9)

fr fr that's the whole page β€” nothing skipped, nothing invented, we ate and left no crumbs πŸ“

and before you go 🧚: this lil masterpiece lives in ./include/uapi/linux, dated October 2026, and it's filed under struct scifioctl_reg(9) β€” go off, queen πŸ’œπŸ’–

πŸ“¦ where this page comes from