__audit_syscall_exit(9)
π NAME π
okay so __audit_syscall_exit(9) β from the Kernel API Manual, bestie β is literally the deallocate audit context after a system call moment. π«Ά
π SYNOPSIS π
void __audit_syscall_exit (int success , long return_code );
π ARGUMENTS π
successβ the success value of the syscall.return_codeβ the return value of the syscall.
π¦ DESCRIPTION π¦
This function is the cleanup era π . It tears down after a system call.
If the audit context has been marked as auditable β either because of the AUDIT_STATE_RECORD state from filtering, or because some other part of the kernel wrote an audit message β then it writes out the syscall information.
In call cases (yes, βcall,β thatβs the originalβs wording π), it frees the names stored from getname.
π SEE ALSO π
Kernel file ./kernel/auditsc.c, plus the whole squad:
__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_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)
okay bye bestie π«Ά β this pageβs source is ./kernel, dated October 2026, and the page name is __audit_syscall_exit(9). periodt. π
π¦ 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