tomoyo_audit_net_log(9)
β¨ 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 tostruct 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 aconst u8, keep it cute.operationβ Name of socket operation. also aconst u8, we stay consistent πaddressβ Name of address. aconst 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:
tomoyo_parse_ipaddr_union(9)tomoyo_print_ipv4(9)tomoyo_print_ipv6(9)tomoyo_print_ip(9)tomoyo_same_inet_acl(9)tomoyo_same_unix_acl(9)tomoyo_merge_inet_acl(9)tomoyo_merge_unix_acl(9)tomoyo_write_inet_network(9)tomoyo_write_unix_network(9)tomoyo_audit_inet_log(9)tomoyo_audit_unix_log(9)tomoyo_check_inet_acl(9)tomoyo_check_unix_acl(9)tomoyo_inet_entry(9)tomoyo_check_inet_address(9)tomoyo_unix_entry(9)tomoyo_check_unix_address(9)tomoyo_kernel_service(9)tomoyo_sock_family(9)tomoyo_socket_listen_permission(9)tomoyo_socket_connect_permission(9)tomoyo_socket_bind_permission(9)tomoyo_socket_sendmsg_permission(9)
like, the whole tomoyo network crew showed up. obsessed π§
π reminder that this page is sourced from./security/tomoyoin the tree, dated October 2026, and it's literally titledtomoyo_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
- 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