Lines Matching refs:family
364 const char *family, const u8 protocol, in tomoyo_audit_net_log() argument
367 return tomoyo_supervisor(r, "network %s %s %s %s\n", family, in tomoyo_audit_net_log()
628 u8 family; in tomoyo_sock_family() local
632 family = sk->sk_family; in tomoyo_sock_family()
633 switch (family) { in tomoyo_sock_family()
637 return family; in tomoyo_sock_family()
653 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_listen_permission() local
658 if (!family || (type != SOCK_STREAM && type != SOCK_SEQPACKET)) in tomoyo_socket_listen_permission()
670 if (family == PF_UNIX) in tomoyo_socket_listen_permission()
690 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_connect_permission() local
693 if (!family) in tomoyo_socket_connect_permission()
708 if (family == PF_UNIX) in tomoyo_socket_connect_permission()
727 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_bind_permission() local
730 if (!family) in tomoyo_socket_bind_permission()
743 if (family == PF_UNIX) in tomoyo_socket_bind_permission()
762 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_sendmsg_permission() local
765 if (!msg->msg_name || !family || in tomoyo_socket_sendmsg_permission()
770 if (family == PF_UNIX) in tomoyo_socket_sendmsg_permission()