Lines Matching refs:family
363 const char *family, const u8 protocol, in tomoyo_audit_net_log() argument
366 return tomoyo_supervisor(r, "network %s %s %s %s\n", family, in tomoyo_audit_net_log()
623 u8 family; in tomoyo_sock_family() local
627 family = sk->sk_family; in tomoyo_sock_family()
628 switch (family) { in tomoyo_sock_family()
632 return family; in tomoyo_sock_family()
648 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_listen_permission() local
653 if (!family || (type != SOCK_STREAM && type != SOCK_SEQPACKET)) in tomoyo_socket_listen_permission()
664 if (family == PF_UNIX) in tomoyo_socket_listen_permission()
684 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_connect_permission() local
687 if (!family) in tomoyo_socket_connect_permission()
702 if (family == PF_UNIX) in tomoyo_socket_connect_permission()
721 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_bind_permission() local
724 if (!family) in tomoyo_socket_bind_permission()
737 if (family == PF_UNIX) in tomoyo_socket_bind_permission()
756 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_sendmsg_permission() local
759 if (!msg->msg_name || !family || in tomoyo_socket_sendmsg_permission()
764 if (family == PF_UNIX) in tomoyo_socket_sendmsg_permission()