Home
last modified time | relevance | path

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

/Linux-v6.1/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.1/net/unix/
Dscm.c35 if (s && sock->ops && sock->ops->family == PF_UNIX) in unix_get_socket()
Daf_unix.c835 .family = PF_UNIX,
861 .family = PF_UNIX,
886 .family = PF_UNIX,
957 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_stream_proto, kern); in unix_create1()
959 sk = sk_alloc(net, PF_UNIX, GFP_KERNEL, &unix_dgram_proto, kern); in unix_create1()
1000 if (protocol && protocol != PF_UNIX) in unix_create()
3586 .family = PF_UNIX,
3758 sock_unregister(PF_UNIX); in af_unix_exit()
3772 MODULE_ALIAS_NETPROTO(PF_UNIX);
/Linux-v6.1/arch/um/drivers/
Dmconsole_user.c187 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0); in mconsole_notify()
/Linux-v6.1/tools/perf/trace/beauty/include/linux/
Dsocket.h243 #define PF_UNIX AF_UNIX macro
/Linux-v6.1/include/linux/
Dsocket.h243 #define PF_UNIX AF_UNIX macro
/Linux-v6.1/net/core/
Dscm.c156 if (!sock->ops || sock->ops->family != PF_UNIX) in __scm_send()
/Linux-v6.1/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.1/arch/um/os-Linux/
Dfile.c550 sock = socket(PF_UNIX, SOCK_DGRAM, 0); in os_create_unix_socket()
/Linux-v6.1/Documentation/admin-guide/sysctl/
Dnet.rst415 socket's buffer. It will not take effect unless PF_UNIX flag is specified.
/Linux-v6.1/security/selinux/
Dhooks.c1120 case PF_UNIX: in socket_type_to_security_class()
5173 if (sock && family == PF_UNIX) { in selinux_socket_getpeersec_dgram()
5242 sk->sk_family == PF_UNIX) in selinux_sock_graft()
/Linux-v6.1/net/
Dsocket.c172 [PF_UNIX] = "PF_UNIX/PF_LOCAL",
/Linux-v6.1/io_uring/
Dio_uring.c3382 ret = sock_create_kern(&init_net, PF_UNIX, SOCK_RAW, IPPROTO_IP, in io_uring_get_file()
/Linux-v6.1/security/smack/
Dsmack_lsm.c4065 case PF_UNIX: in smack_socket_getpeersec_dgram()