Home
last modified time | relevance | path

Searched refs:PF_UNIX (Results 1 - 25 of 52) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/socketpair/
H A 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"},
H A Dsocketpair02.c44 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
/third_party/ltp/testcases/kernel/syscalls/bind/
H A 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/
H A 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/sendfile/
H A Dsendfile07.c31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
/third_party/ltp/testcases/kernel/syscalls/socketcall/
H A Dsocketcall01.c28 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"},
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c86 int domain; /* PF_INET, PF_UNIX, ... */
290 {.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/
H A 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)); in HWTEST_F()
524 int sockfd = socket(PF_UNIX, SOCK_STREAM, 0); in HWTEST_F()
/third_party/ltp/testcases/kernel/syscalls/socket/
H A Dsocket01.c33 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"},
/third_party/musl/src/passwd/
H A Dnscd_query.c42 fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in __nscd_query()
/third_party/musl/porting/liteos_a/user/src/passwd/
H A Dnscd_query.c42 fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in __nscd_query()
/third_party/selinux/libselinux/src/
H A 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/ltp/testcases/kernel/syscalls/getpeername/
H A Dgetpeername01.c162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
H A 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/libfuse/lib/
H A 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/
H A Dohos_socket-server.c226 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_socket_server_new_unix()
227 pa_log("socket(PF_UNIX): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
675 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_unix_socket_is_stale()
H A Dsocket-server.c207 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_socket_server_new_unix()
208 pa_log("socket(PF_UNIX): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
654 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in pa_unix_socket_is_stale()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h90 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/linux/user/include/sys/
H A Dsocket.h105 #define PF_UNIX PF_LOCAL macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsocket.h101 #define PF_UNIX PF_LOCAL macro
/third_party/musl/include/sys/
H A Dsocket.h105 #define PF_UNIX PF_LOCAL macro
/third_party/pulseaudio/src/utils/
H A Dpacmd.c147 if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) { in main()
148 pa_log(_("socket(PF_UNIX, SOCK_STREAM, 0): %s"), strerror(errno)); in main()

Completed in 16 milliseconds

123