tomoyo_write_inet_network(9)
β¨ tomoyo_write_inet_network(9) β¨
okay so bestie, welcome to the Kernel API Manual section β yes, we're doing kernel docs now, and honestly? iconic behavior fr fr π
πΈ NAME πΈ
tomoyo_write_inet_network β writes a "struct tomoyo_inet_acl" list π
like, that's the whole vibe. it writes the list. no cap.
π SYNOPSIS π
int tomoyo_write_inet_network (struct tomoyo_acl_param *param );
π¦ ARGUMENTS π¦
paramβ pointer to"struct tomoyo_acl_param". that's it. that's the whole argument list. she's low maintenance π«Ά
β DESCRIPTION β
so here's the tea β β this function returns 0 on success, and a negative value otherwise. that's the whole return contract, don't @ me.
heads up bestie π β the caller holds tomoyo_read_lock. this is not a suggestion, it's a whole requirement, so pls don't forget it or the vibe check will NOT be passing π
π SEE ALSO π
the full squad, in order, no one left out π§β¨ β and they all live in the kernel file ./security/tomoyo/network.c:
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_unix_network(9)tomoyo_audit_net_log(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)
and that's the page!! π this cutie lives in the ./security/tomoyo section of the Kernel API Manual, dated October 2026 β mwah, see u in the next manpage bestie, stay locked and stay slaying π₯ππ
π¦ 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