Home
last modified time | relevance | path

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

12345

/third_party/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair01.c35 {PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"},
38 {PF_UNIX, SOCK_STREAM, 0, 0, -1, EFAULT, "bad aligned pointer"},
39 {PF_UNIX, SOCK_STREAM, 0, (int *)7, -1, EFAULT, "bad unaligned pointer"},
Dsocketpair02.c44 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind03.c56 sock1 = SAFE_SOCKET(PF_UNIX, SOCK_STREAM, 0); in setup()
57 sock2 = SAFE_SOCKET(PF_UNIX, SOCK_STREAM, 0); in setup()
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_recv_chk_test.cpp25 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFunc()
53 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in SockInit()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c290 {.domain = PF_UNIX,
324 {.domain = PF_UNIX,
341 {.domain = PF_UNIX,
448 ufd = socket(PF_UNIX, SOCK_DGRAM, 0); in start_server()
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
Dsocket_test.cpp38 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in FnLink()
66 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in SockInit()
315 auto fd = std::make_unique<int>(socket(PF_UNIX, SOCK_SEQPACKET, 0));
524 int sockfd = socket(PF_UNIX, SOCK_STREAM, 0);
/third_party/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall01.c28 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"},
/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile07.c31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
/third_party/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c33 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"},
/third_party/selinux/libselinux/src/
Dsetrans_client.c53 fd = socket(PF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0); in setransd_open()
57 fd = socket(PF_UNIX, SOCK_STREAM, 0); in setransd_open()
/third_party/musl/porting/liteos_a/user/src/passwd/
Dnscd_query.c42 fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in __nscd_query()
/third_party/musl/src/passwd/
Dnscd_query.c42 fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in __nscd_query()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c325 } else if (tcases[n].domain == PF_UNIX) { in setup_valid_sock()
374 ufd = SAFE_SOCKET(PF_UNIX, SOCK_STREAM, 0); in start_server()
/third_party/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
/third_party/libfuse/lib/
Dmount.c322 res = socketpair(PF_UNIX, SOCK_STREAM, 0, fds); in setup_auto_unmount()
383 res = socketpair(PF_UNIX, SOCK_STREAM, 0, fds); in fuse_mount_fusermount()
/third_party/pulseaudio/src/pulsecore/
Dsocket-server.c207 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_socket_server_new_unix()
654 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_unix_socket_is_stale()
Dohos_socket-server.c226 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_socket_server_new_unix()
675 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_unix_socket_is_stale()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_privsep.c165 l2->fd = socket(PF_UNIX, SOCK_DGRAM, 0); in l2_packet_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_privsep.c165 l2->fd = socket(PF_UNIX, SOCK_DGRAM, 0); in l2_packet_init()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/linux/user/include/sys/
Dsocket.h105 #define PF_UNIX PF_LOCAL macro
/third_party/pulseaudio/src/utils/
Dpacmd.c147 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in main()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dsocket.h90 #define PF_UNIX PF_LOCAL macro
/third_party/musl/include/sys/
Dsocket.h105 #define PF_UNIX PF_LOCAL macro

12345