tomoyo_check_inet_acl(9)
π tomoyo_check_inet_acl(9) π
okay so bestie, we're in the Kernel API Manual today and this page is literally all about tomoyo_check_inet_acl β like, that's the whole name, that's the assignment. it's the function that checks permission for an inet domain socket operation. network security vibes, we love to see it π¦
β¨ SYNOPSIS β¨
bool tomoyo_check_inet_acl (struct tomoyo_request_info *r , const struct
tomoyo_acl_info *ptr );
that's it. that's the whole signature. she's a bool-returning icon, no cap π
π ARGUMENTS π
rβ a pointer to"struct tomoyo_request_info", ok? pointer. to that struct. exactly that struct, don't get cute with it πptrβ a pointer to"struct tomoyo_acl_info". yes, lowercaseptr, yes it's giving "i ran out of names", but we respect her π«Ά
β DESCRIPTION β
so what does she do? literally one job: returns true if granted, false otherwise.
that's the whole description. no cap. that is the entire bit. honestly? main character energy β knows what she is, doesn't overexplain π
bestie pls note the phrasing:truemeans granted,falsemeans not granted. don't flip them. that would be a vibe check you fail π
π SEE ALSO π
okay this is the part where i need you to lock in, because the list is LONG and i'm not skipping a single one, iykyk β¨
first up, the kernel file involved: ./security/tomoyo/network.c π₯
and then the whole friend group, in this exact order:
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_net_log(9)tomoyo_audit_inet_log(9)tomoyo_audit_unix_log(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)
twenty-four entries. i counted. she ate and left zero crumbs π
and that's the page, bestie!! π¦ this cutie lives in the kernel source at ./security/tomoyo and the page itself is dated October 2026 β so yes, she's from the future, we stan a forward-thinking function. mwah, go read network.c πππΈ
π¦ 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