Home
last modified time | relevance | path

Searched refs:AF_UNIX (Results 1 – 25 of 102) sorted by relevance

12345

/external/libchrome/base/posix/
Dunix_domain_socket_linux_unittest.cc32 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
67 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
85 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
112 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
142 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
/external/valgrind/none/tests/
Dfdleak_cmsg.stderr.exp4 Open AF_UNIX socket ...: /tmp/sock
7 Open AF_UNIX socket ...: /tmp/sock
34 Open AF_UNIX socket ...: <unknown>
Dfdleak_socketpair.stderr.exp4 Open AF_UNIX socket ...: <unknown>
7 Open AF_UNIX socket ...: <unknown>
Dfdleak_cmsg.c46 addr.sun_family = AF_UNIX; in server()
107 addr.sun_family = AF_UNIX; in client()
Dfdleak_socketpair.c12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); in main()
/external/netcat/
Dnetcat.c153 family = AF_UNIX; in main()
293 if (argv[0] && !argv[1] && family == AF_UNIX) { in main()
317 if ((family == AF_UNIX) && uflag && !lflag) { in main()
330 if (family != AF_UNIX) { in main()
347 if (family == AF_UNIX) in main()
373 if (family == AF_UNIX) { in main()
382 if (family != AF_UNIX) in main()
416 if (family != AF_UNIX) in main()
426 } else if (family == AF_UNIX) { in main()
509 if ((s = socket(AF_UNIX, uflag ? SOCK_DGRAM : SOCK_STREAM, in unix_bind()
[all …]
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc162 int sys_ret = socketpair(AF_UNIX, SOCK_DGRAM, 0, sv); in BPF_TEST_C()
166 sys_ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sv); in BPF_TEST_C()
344 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
355 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
366 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
377 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
Dbaseline_policy.cc199 static_assert(AF_UNIX == PF_UNIX, in EvaluateSyscallImpl()
202 return If(domain == AF_UNIX, Allow()).Else(CrashSIGSYS()); in EvaluateSyscallImpl()
/external/dbus/tools/
Ddbus-cleanup-sockets.c93 #ifdef AF_UNIX
230 se->fd = socket (AF_UNIX, SOCK_STREAM, 0); in open_socket()
248 saddr.sun_family = AF_UNIX; in open_socket()
438 #ifdef AF_UNIX in main()
/external/netperf/src/
Dnettest_unix.c289 server.sun_family = AF_UNIX; in send_stream_stream()
307 send_socket = create_unix_socket(AF_UNIX, in send_stream_stream()
782 myaddr_un.sun_family = AF_UNIX; in recv_stream_stream()
798 s_listen = create_unix_socket(AF_UNIX, in recv_stream_stream()
1110 server.sun_family = AF_UNIX; in send_stream_rr()
1145 send_socket = create_unix_socket(AF_UNIX, in send_stream_rr()
1592 server.sun_family = AF_UNIX; in send_dg_stream()
1608 data_socket = create_unix_socket(AF_UNIX, in send_dg_stream()
2012 myaddr_un.sun_family = AF_UNIX; in recv_dg_stream()
2027 s_data = create_unix_socket(AF_UNIX, in recv_dg_stream()
[all …]
/external/strace/tests/
Dnetlink_unix_diag.c111 .sun_family = AF_UNIX, in main()
130 return (send_query(1, AF_UNIX, 0) && in main()
/external/ipsec-tools/src/racoon/
Dkmpstat.c104 name.sun_family = AF_UNIX; in com_init()
108 so = socket(AF_UNIX, SOCK_STREAM, 0); in com_init()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc155 return If(AllOf(domain == AF_UNIX, in EvaluateSyscall()
175 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_STREAM, 0, kFakeSV)); in TEST()
177 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_DGRAM, 0, kFakeSV)); in TEST()
182 emulator.ExpectErrno(EINVAL, FakeSyscall(__NR_socketpair, AF_UNIX, in TEST()
184 emulator.ExpectErrno(EINVAL, FakeSyscall(__NR_socketpair, AF_UNIX, in TEST()
/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c54 case AF_UNIX: in sockaddr_compare()
98 case AF_UNIX: in sockaddr_print()
/external/strace/xlat/
Daddrfams.h12 #if defined(AF_UNIX) || (defined(HAVE_DECL_AF_UNIX) && HAVE_DECL_AF_UNIX)
13 XLAT(AF_UNIX),
Daddrfams.in3 AF_UNIX
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c115 if (from.sun_family != AF_UNIX || in l2_packet_receive()
161 l2->priv_addr.sun_family = AF_UNIX; in l2_packet_init()
175 addr.sun_family = AF_UNIX; in l2_packet_init()
/external/dbus/dbus/
Dsd-daemon.c301 if (sockaddr.sa.sa_family != AF_UNIX) in sd_is_socket_unix()
351 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) { in sd_notify()
357 sockaddr.sa.sa_family = AF_UNIX; in sd_notify()
/external/avahi/avahi-daemon/
Dsd-daemon.c306 if (sockaddr.sa.sa_family != AF_UNIX) in sd_is_socket_unix()
356 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) { in sd_notify()
362 sockaddr.sa.sa_family = AF_UNIX; in sd_notify()
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
Dhog.c105 test_sock_addr.sun_family = AF_UNIX; in main()
108 sockfd = socket(AF_UNIX, SOCK_STREAM, 0); in main()
/external/e2fsprogs/misc/
Duuidd.c158 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in call_daemon()
164 srv_addr.sun_family = AF_UNIX; in call_daemon()
275 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in server_loop()
297 my_addr.sun_family = AF_UNIX; in server_loop()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_channel.cc24 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, socket_pair)); in CreatePair()
/external/dbus/cmake/modules/
DCheckForAbstractSockets.c21 addr.sun_family = AF_UNIX; in main()
/external/compiler-rt/test/tsan/
Dfd_socketpair_norace.cc28 socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in main()
/external/clang/test/Analysis/
Dtaint-generic.c153 #define AF_UNIX 1 /* local to host (pipes) */ macro
155 #define AF_LOCAL AF_UNIX /* backward compatibility */

12345