tomoyo_audit_net_log(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tomoyo_audit_net_log(9) β€” the Kernel API Manual moment πŸ’…

okay so bestie, we're in the Kernel API Manual and today's main character is tomoyo_audit_net_log(9). yes it's a real function, yes it's giving network audit energy, and yes we're gonna get through it together 🫢


🌸 NAME

tomoyo_audit_net_log β€” Audit network log. that's it, that's the whole vibe ✨


πŸŽ€ SYNOPSIS

int tomoyo_audit_net_log (struct tomoyo_request_info *r , const char
*family , const u8 protocol , const u8 operation , const char *address
);

like. look at her. five params, one int return, no notes πŸ’…


πŸ¦‹ ARGUMENTS

  • r β€” Pointer to struct tomoyo_request_info. that's the request-info struct bestie, she's holding the context πŸ’–
  • family β€” Name of socket family ("inet" or "unix"). literally only those two, no cap.
  • protocol β€” Name of protocol in family. it's a const u8, keep it cute.
  • operation β€” Name of socket operation. also a const u8, we stay consistent πŸ‘‘
  • address β€” Name of address. a const char *, iconic.

πŸ”₯ DESCRIPTION

Returns 0 on success, negative value otherwise. fr fr that's the whole deal β€” zero means slay, anything negative means nope 😭

ngl it's a short one, but that's the point: this is the audit-network-log helper, and it's not out here doing extra. lowkey respectful.

🌈 SEE ALSO

Kernel file ./security/tomoyo/network.c β€” and then a whole friend group of functions, all in their (9) era:

like, the whole tomoyo network crew showed up. obsessed 🧚


πŸ’€ reminder that this page is sourced from ./security/tomoyo in the tree, dated October 2026, and it's literally titled tomoyo_audit_net_log(9) up top β€” don't come for me, that's just what the official header says πŸ’–

and that's the page bestie!! go audit those network logs, stay hydrated, and remember: 0 on success, negative otherwise, periodt πŸ“βœ¨

πŸ“¦ where this page comes from