SOCK_CLOEXEC
if ((s = unix_bind(unix_dg_tmp_socket, SOCK_CLOEXEC)) == -1)
if ((s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)) == -1)
if ((LogFile = _socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC,
if (type & SOCK_CLOEXEC) {
type &= ~SOCK_CLOEXEC;
if (sockflags & SOCK_CLOEXEC)
if (uap->flags & ~(SOCK_NONBLOCK | SOCK_CLOEXEC | SOCK_CLOFORK))
if (type & SOCK_CLOEXEC) {
type &= ~SOCK_CLOEXEC;
type |= SOCK_CLOEXEC;
ltype |= SOCK_CLOEXEC;
atype |= SOCK_CLOEXEC;
type |= SOCK_CLOEXEC;
s = accept4(serv_s, NULL, NULL, SOCK_CLOEXEC);
s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0, s) < 0)
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC,