Home
last modified time | relevance | path

Searched refs:PF_UNIX (Results 1 – 13 of 13) sorted by relevance

/linux/security/tomoyo/
H A Dnetwork.c624 * Returns one of PF_INET, PF_INET6, PF_UNIX or 0.
636 case PF_UNIX: in tomoyo_sock_family()
670 if (family == PF_UNIX) in tomoyo_socket_listen_permission()
708 if (family == PF_UNIX) in tomoyo_socket_connect_permission()
743 if (family == PF_UNIX) in tomoyo_socket_bind_permission()
770 if (family == PF_UNIX) in tomoyo_socket_sendmsg_permission()
/linux/security/apparmor/
H A Daf_unix.c91 state = aa_match_to_prot(policy, state, request, PF_UNIX, type, in match_to_local()
214 PF_UNIX, type, protocol, NULL, in profile_create_perm()
725 AA_BUG(sock->sk->sk_family != PF_UNIX); in aa_unix_file_perm()
H A Dfile.c581 if (sock->sk->sk_family == PF_UNIX) { in __unix_needs_revalidation()
/linux/arch/um/drivers/
H A Dmconsole_user.c189 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0); in mconsole_notify()
/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h248 #define PF_UNIX AF_UNIX macro
/linux/net/unix/
H A Daf_unix.c10 * Carsten Paeth : PF_UNIX check, address fixes.
979 .family = PF_UNIX,
1005 .family = PF_UNIX,
1029 .family = PF_UNIX,
1107 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_stream_proto, kern); in unix_create1()
1109 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_dgram_proto, kern); in unix_create1()
1154 if (protocol && protocol != PF_UNIX) in unix_create()
3823 .family = PF_UNIX,
H A Dgarbage.c105 /* PF_UNIX ? */ in unix_get_socket()
106 if (sk && ops && ops->family == PF_UNIX) in unix_get_socket()
/linux/net/9p/
H A Dtrans_fd.c1058 sun_server.sun_family = PF_UNIX; in p9_fd_create_unix()
1060 err = __sock_create(current->nsproxy->net_ns, PF_UNIX, in p9_fd_create_unix()
/linux/net/core/
H A Dscm.c192 if (!ops || ops->family != PF_UNIX) in __scm_send()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c803 proto = PF_UNIX; in bpf_kfunc_init_sock()
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst431 socket's buffer. It will not take effect unless PF_UNIX flag is specified.
/linux/security/selinux/
H A Dhooks.c1172 case PF_UNIX: in socket_type_to_security_class()
5386 if (sock && family == PF_UNIX) { in selinux_socket_getpeersec_dgram()
5448 sk->sk_family == PF_UNIX) in selinux_sock_graft()
/linux/security/smack/
H A Dsmack_lsm.c4313 case PF_UNIX: in smack_socket_getpeersec_dgram()