__audit_ipc_set_perm(9)
π
__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:
__audit_filter_op(9)audit_filter_uring(9)audit_reset_context(9)audit_alloc(9)audit_log_uring(9)__audit_free(9)audit_return_fixup(9)__audit_uring_entry(9)__audit_uring_exit(9)__audit_syscall_entry(9)__audit_syscall_exit(9)__audit_getname(9)__audit_inode(9)__audit_inode_child(9)auditsc_get_stamp(9)__audit_mq_open(9)__audit_mq_sendrecv(9)__audit_mq_notify(9)__audit_mq_getsetattr(9)__audit_ipc_obj(9)__audit_socketcall(9)__audit_fd_pair(9)__audit_sockaddr(9)audit_signal_info_syscall(9)__audit_log_bprm_fcaps(9)__audit_log_capset(9)audit_core_dumps(9)audit_seccomp(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms