tomoyo_sock...d_permission(9)
π tomoyo_socket_bind_permission π
okay so bestie, this page is from the Kernel API Manual, and it's lowkey all about one very specific permission check. it's giving kernel-security main character energy, and we're here for it. π«Ά
πΈ NAME πΈ
tomoyo_socket_bind_permission β Check permission for setting the local address of a socket. β¨
π¦ SYNOPSIS π¦
int tomoyo_socket_bind_permission (struct socket *sock , struct sockaddr
*addr , int addr_len );
π ARGUMENTS π
sockβ Pointer to"struct socket". πaddrβ Pointer to"struct sockaddr". πΈaddr_lenβ Size ofaddr. π§
π₯ DESCRIPTION π₯
Returns 0 on success, negative value otherwise. that's the whole tea, bestie β no extra behavior spelled out on this page. π
π SEE ALSO π
Kernel file ./security/tomoyo/network.c is the spot to peek at, and the whole bestie list is right here: π
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_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_sendmsg_permission(9)
xoxo, source/version ./security/tomoyo, date October 2026 π
π¦ 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