__audit_syscall_exit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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