__audit_ipc_set_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __audit_ipc_set_perm β€” the kernel API glow-up, bestie edition ✨

okay so real talk, the page header said __audit_ipc_set_perm(9) and the manual name is "Kernel API Manual" β€” so like, that's the vibe we're in. Kernel. API. Manual. Iconic. Let's get into it 🫢


🌸 NAME 🌸

__audit_ipc_set_perm β€” no cap, this one records audit data for new ipc permissions. that's literally her whole job. periodt.


✨ SYNOPSIS ✨

void __audit_ipc_set_perm (unsigned long qbytes , uid_t uid , gid_t gid
, umode_t mode );

she returns void, she takes four args, she does not miss πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • qbytes β€” the msgq bytes. like, the byte situation for the message queue πŸ¦‹
  • uid β€” the msgq user id. who owns it, basically πŸ‘‘
  • gid β€” the msgq group id. squad affiliation fr fr 🌈
  • mode β€” the msgq mode (permissions). yes girl, the permission bits ⭐

πŸ’– DESCRIPTION πŸ’–

literally all you need to know: this is called only after audit_ipc_obj. that's the whole description. it's giving "one-line closer" energy and honestly? we respect it 😭

ngl bestie, don't call it before audit_ipc_obj β€” the page is super clear that it's "only after". sequence matters. iykyk πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./kernel/auditsc.c and the whole friend group, in the exact order the page lists them:


🌟 the sign-off 🌟

so the footer said the source is ./kernel and the date is October 2026 β€” so like, mark your calendar bestie, that's when this page is stamped πŸ“…πŸ’œ go read __audit_ipc_obj(9) first, mwah, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from