Home
last modified time | relevance | path

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

/Linux-v6.6/security/tomoyo/
Dnetwork.c636 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-v6.6/net/unix/
Dscm.c36 if (s && ops && ops->family == PF_UNIX) in unix_get_socket()
Daf_unix.c846 .family = PF_UNIX,
871 .family = PF_UNIX,
895 .family = PF_UNIX,
981 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_stream_proto, kern); in unix_create1()
983 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_dgram_proto, kern); in unix_create1()
1024 if (protocol && protocol != PF_UNIX) in unix_create()
3513 .family = PF_UNIX,
3686 sock_unregister(PF_UNIX); in af_unix_exit()
3700 MODULE_ALIAS_NETPROTO(PF_UNIX);
/Linux-v6.6/arch/um/drivers/
Dmconsole_user.c187 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0); in mconsole_notify()
/Linux-v6.6/net/core/
Dscm.c157 if (!ops || ops->family != PF_UNIX) in __scm_send()
/Linux-v6.6/include/linux/
Dsocket.h247 #define PF_UNIX AF_UNIX macro
/Linux-v6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h247 #define PF_UNIX AF_UNIX macro
/Linux-v6.6/net/9p/
Dtrans_fd.c1053 sun_server.sun_family = PF_UNIX; in p9_fd_create_unix()
1055 err = __sock_create(current->nsproxy->net_ns, PF_UNIX, in p9_fd_create_unix()
/Linux-v6.6/arch/um/os-Linux/
Dfile.c550 sock = socket(PF_UNIX, SOCK_DGRAM, 0); in os_create_unix_socket()
/Linux-v6.6/Documentation/admin-guide/sysctl/
Dnet.rst421 socket's buffer. It will not take effect unless PF_UNIX flag is specified.
/Linux-v6.6/security/selinux/
Dhooks.c1158 case PF_UNIX: in socket_type_to_security_class()
5154 if (sock && family == PF_UNIX) { in selinux_socket_getpeersec_dgram()
5223 sk->sk_family == PF_UNIX) in selinux_sock_graft()
/Linux-v6.6/net/
Dsocket.c176 [PF_UNIX] = "PF_UNIX/PF_LOCAL",
/Linux-v6.6/security/smack/
Dsmack_lsm.c4208 case PF_UNIX: in smack_socket_getpeersec_dgram()
/Linux-v6.6/io_uring/
Dio_uring.c3832 ret = sock_create_kern(&init_net, PF_UNIX, SOCK_RAW, IPPROTO_IP, in io_uring_get_file()