Home
last modified time | relevance | path

Searched refs:SOCK_CLOEXEC (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/musl/src/network/
Dsocketpair.c10 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socketpair()
12 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socketpair()
15 if (type & SOCK_CLOEXEC) { in socketpair()
Dsocket.c51 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socket()
53 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socket()
56 if (type & SOCK_CLOEXEC) in socket()
Dif_nametoindex.c13 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) return 0; in if_nametoindex()
Dres_msend.c72 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in __res_msend_rc()
76 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in __res_msend_rc()
Dif_indextoname.c14 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) return 0; in if_indextoname()
Daccept4.c14 if (flg & SOCK_CLOEXEC) in accept4()
/third_party/musl/porting/liteos_a/user/src/network/
Dsocket.c51 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socket()
53 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socket()
56 if (type & SOCK_CLOEXEC) in socket()
Dif_nametoindex.c13 if ((fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) return 0; in if_nametoindex()
Dif_indextoname.c13 if ((fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) return 0; in if_indextoname()
/third_party/musl/porting/linux/user/src/network/
Dsocket.c54 && (type & (SOCK_CLOEXEC | SOCK_NONBLOCK))) { in __libc_socket()
56 type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK), in __libc_socket()
61 if (type & SOCK_CLOEXEC) { in __libc_socket()
Dres_msend.c80 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
84 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
/third_party/ltp/include/lapi/
Dsocket.h41 #ifndef SOCK_CLOEXEC
42 # define SOCK_CLOEXEC 02000000 macro
Dfcntl.h21 #ifndef SOCK_CLOEXEC
22 # define SOCK_CLOEXEC O_CLOEXEC macro
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c57 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
61 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP); in verify_recvmsg()
/third_party/lwip/
D0034-add-accept4-and-epoll_create1.patch33 + * @param flags only support SOCK_CLOEXEC and SOCK_NONBLOCK
109 + if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)){
145 +#ifndef SOCK_CLOEXEC
146 +#define SOCK_CLOEXEC O_CLOEXEC
/third_party/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c91 { SOCK_CLOEXEC, 0 },
93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
/third_party/musl/arch/mipsn32/bits/
Dsocket.h35 #define SOCK_CLOEXEC 02000000 macro
/third_party/musl/arch/mips/bits/
Dsocket.h35 #define SOCK_CLOEXEC 02000000 macro
/third_party/musl/arch/mips64/bits/
Dsocket.h35 #define SOCK_CLOEXEC 02000000 macro
/third_party/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c31 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
/third_party/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c34 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
/third_party/musl/ndk_musl_include/sys/
Dsocket.h98 #ifndef SOCK_CLOEXEC
99 #define SOCK_CLOEXEC 02000000 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h94 #ifndef SOCK_CLOEXEC
95 #define SOCK_CLOEXEC 02000000 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h94 #ifndef SOCK_CLOEXEC
95 #define SOCK_CLOEXEC 02000000 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dsocket.h94 #ifndef SOCK_CLOEXEC
95 #define SOCK_CLOEXEC 02000000 macro

1234