STRUCT SECCOMP_NOTIF_ADDFD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct seccomp_notif_addfd

Okay bestie, welcome to the Kernel API Manual page for struct seccomp_notif_addfd(9) β€” manual name folded in right here, just like requested. The original NAME line has the dash with literally nothing after it, so we are not inventing a summary. Periodt. πŸ’–


✨ SYNOPSIS ✨

struct seccomp_notif_addfd {
    __u64 id;
    __u32 flags;
    __u32 srcfd;
    __u32 newfd;
    __u32 newfd_flags;
 };

🧚 Members 🧚

This struct has a whole little cast, and every single one is important β€” no skipping, bestie:

  • id β€” the ID of the seccomp notification. That's the notification's identity, iykyk. πŸͺͺ
  • flags β€” SECCOMP_ADDFD_FLAG_*. Yep, that's the flag family exactly as written. 🚩
  • srcfd β€” the local fd number. πŸ’»
  • newfd β€” optional remote FD number if the SETFD option is set, otherwise 0. πŸ”’
  • newfd_flags β€” the O_* flags the remote FD should have applied. 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./tools/include/uapi/linux/seccomp.h
  • struct seccomp_data(9)

Source/version: ./tools/include/uapi/linux Β· Date: October 2026 β€” mwah, bye bestie, go read those headers πŸ’œπŸŽ€

πŸ“¦ where this page comes from