__audit_free(9)
πΈ __audit_free β Kernel API Manual (9) πΈ
okay bestie, welcome to the kernel API manual page for __audit_free π
this one's short and sweet ngl, but it's literally doing the cleanup work so you don't have to π«Ά
β¨ NAME β¨
__audit_free β free a per-task audit context π
like, it's the friend who takes out the trash after the party. iconic behavior honestly.
β¨ SYNOPSIS β¨
void __audit_free (struct task_struct *tsk );
that's it. that's the whole vibe check. returns void, takes one pointer, no cap π
β¨ ARGUMENTS β¨
tskβ the task whose audit context block you're freeing πΈ literally thestruct task_struct *for the task whose audit context block gets freed. that's the whole assignment bestie.
β¨ DESCRIPTION β¨
so here's the tea π: this gets called from copy_process, do_exit, and the io_uring code.
that's it. that's the description. she's lowkey mysterious and she's keeping it that way β¨ main character energy fr fr π
ngl the original page is this concise, so i'm not gonna invent lore that isn't there. respect the source, bestie π«Ά
β¨ SEE ALSO β¨
you want the whole friend group? because the whole friend group is here ππ and yes, they all live in 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_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_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)
that's twenty-eight whole cross-references, we ate and left absolutely no crumbs π½οΈβ¨ iykyk
<a href>okay that's the page!!</a> this little beauty ships out of ./kernel, dated October 2026, and it answers to the name __audit_free(9) π¦ mwah, go free some audit contexts responsibly bestie ππ
π¦ 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