__audit_inode(9)
π
__audit_inode β Kernel API Manual, but make it make sense β¨
okay so bestie, this is a page from the Kernel API Manual and it's about __audit_inode(9) β the little function that's out here storing the inode and device from a lookup. that's it, that's the whole personality. no cap π
πΈ NAME πΈ
__audit_inode β store the inode and device from a lookup π
like literally what it says on the tin: it's holding onto the inode + device info that came out of a lookup, and it's doing that for the audit trail. icon behavior, honestly.
π¦ SYNOPSIS π¦
void __audit_inode (struct filename *name , const struct dentry *dentry
, unsigned int flags );
it returns void btw, so don't be out here waiting for a return value that's never coming π
β¨ ARGUMENTS β¨
nameβ thestruct filename *that's being audited, aka the name of the thing we're looking at πdentryβ theconst struct dentry *that's being audited, the dentry in question πflagsβ anunsigned intholding the attributes for this particular entry, so like, the vibes of this specific one β
π SEE ALSO π
the whole friend group, and yes they all ate π₯ β straight from the kernel file ./kernel/auditsc.c:
__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_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_ipc_set_perm(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)
ok that's the whole page, go touch some grass and then come back and read your audit logs π
sign-off time π«Ά this little masterpiece lives in ./kernel, it's dated October 2026, and it goes by __audit_inode(9) β iykyk πβ¨πΈ
π¦ 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