/external/selinux/libselinux/src/ |
setrans_client.c | 53 #ifdef SOCK_CLOEXEC 54 fd = socket(PF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0);
|
avc_internal.c | 63 fd = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_SELINUX);
|
/external/honggfuzz/ |
subproc.c | 310 #if defined(SOCK_CLOEXEC) 311 sock_type |= SOCK_CLOEXEC;
|
/bionic/libc/bionic/ |
system_property_set.cpp | 56 socket_ = ::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0);
|
/bootable/recovery/tests/component/ |
uncrypt_test.cpp | 93 int sockfd = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
|
/external/minijail/ |
system.c | 189 sock = socket(AF_LOCAL, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
/external/libnl/lib/ |
nl.c | 74 * @note If available, the `close-on-exec` (`SOCK_CLOEXEC`) feature is enabled 102 #ifdef SOCK_CLOEXEC 103 flags |= SOCK_CLOEXEC;
|
/external/wayland/tests/ |
connection-test.c | 51 assert(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, s) == 0); 150 SOCK_STREAM | SOCK_CLOEXEC, 0, data->s) == 0);
|
/bionic/libc/include/sys/ |
socket.h | 62 #define SOCK_CLOEXEC O_CLOEXEC
|
/device/generic/goldfish/ril/ |
if_monitor.cpp | 99 SOCK_DGRAM | SOCK_CLOEXEC,
|
/device/generic/goldfish/wifi/ipv6proxy/ |
socket.cpp | 64 mSocket = ::socket(domain, type | SOCK_CLOEXEC, protocol);
|
/external/android-clat/ |
config.c | 230 int s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
clatd.c | 234 int rawsock = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_RAW);
|
/external/bcc/src/cc/ |
libbpf.c | 388 int shafd = socket(AF_ALG, SOCK_SEQPACKET | SOCK_CLOEXEC, 0); 399 int shafd2 = accept4(shafd, NULL, 0, SOCK_CLOEXEC); 628 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); [all...] |
/external/linux-kselftest/tools/testing/selftests/uevent/ |
uevent_filtering.c | 93 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC,
|
/external/python/cpython3/Modules/ |
socketmodule.c | 954 /* It's possible to pass SOCK_NONBLOCK and SOCK_CLOEXEC bit flags 963 #ifdef SOCK_CLOEXEC 964 s->sock_type = s->sock_type & ~SOCK_CLOEXEC; [all...] |
/bionic/libc/async_safe/ |
async_safe_log.cpp | 463 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0));
|
/art/adbconnection/ |
adbconnection.cc | 229 SOCK_SEQPACKET | SOCK_CLOEXEC, 491 android::base::unique_fd sock(socket(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0)); [all...] |
/external/libevent/ |
evutil.c | [all...] |
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 674 android::base::unique_fd socket_fd(accept4(service_socket, nullptr, nullptr, SOCK_CLOEXEC));
|
/cts/tests/tests/nativehardware/jni/ |
AHardwareBufferTest.cpp | 295 err = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, fds);
|
/bionic/libc/dns/resolv/ |
res_send.c | 806 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); 1090 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 883 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); [all...] |
/external/iproute2/lib/ |
libnetlink.c | 147 rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
|
/bionic/libc/stdio/ |
stdio.cpp | 1192 if (socketpair(AF_LOCAL, SOCK_CLOEXEC | SOCK_STREAM, 0, fds) == -1) return nullptr;
|