libuv/src/unix
Ben Noordhuis 03a698b9c6
unix: use MSG_CMSG_CLOEXEC where supported (#3609)
Use MSG_CMSG_CLOEXEC on Unix-y platforms that support it (all except
macOS and SunOS spawn.)

Remove the feature test for Linux. Libuv's kernel baseline is 2.6.32
and MSG_CMSG_CLOEXEC was added in 2.6.23.
2022-04-27 22:44:00 +02:00
..
aix-common.c aix: protect uv_exepath() from uv_set_process_title() 2020-08-10 11:27:30 -04:00
aix.c aix: protect uv_exepath() from uv_set_process_title() 2020-08-10 11:27:30 -04:00
async.c stream: add uv_pipe and uv_socketpair to the API 2020-11-09 21:50:09 -05:00
atomic-ops.h zos: implement cmpxchgi() using assembly (#3543) 2022-03-13 22:50:09 +01:00
bsd-ifaddrs.c hurd: unbreak build on GNU/Hurd (#3450) 2022-02-23 12:04:18 -05:00
bsd-proctitle.c bsd: ensure mutex is initialized (#3428) 2022-01-17 12:55:41 +01:00
core.c unix: use MSG_CMSG_CLOEXEC where supported (#3609) 2022-04-27 22:44:00 +02:00
cygwin.c src: move uv_free_cpu_info to uv-common.c 2019-08-19 23:01:17 +02:00
darwin-proctitle.c darwin: fix build with non-apple compilers 2020-04-28 20:07:59 +02:00
darwin-stub.h darwin: use IOKit for uv_cpu_info 2020-08-04 21:18:32 +02:00
darwin.c macos: fix the cfdata length in uv__get_cpu_speed (#3356) 2021-11-24 19:50:52 -05:00
dl.c freebsd: call dlerror() only if necessary (#3388) 2022-01-03 11:25:45 +01:00
epoll.c illumos: event ports to epoll 2021-07-02 15:00:37 -04:00
freebsd.c freebsd: use copy_file_range() in uv_fs_sendfile() (#3496) 2022-02-27 11:49:29 +01:00
fs.c openbsd: use utimensat instead of lutimes (#3607) 2022-04-27 10:19:28 +02:00
fsevents.c darwin: abort on pthread_attr_init fail 2021-04-04 17:35:14 +02:00
getaddrinfo.c misc: remove unnecessary _GNU_SOURCE macros 2021-05-12 18:42:29 -04:00
getnameinfo.c unix,win: limit concurrent DNS calls to nthreads/2 2018-08-21 10:48:24 +02:00
haiku.c src: move uv_free_cpu_info to uv-common.c 2019-08-19 23:01:17 +02:00
hurd.c hurd: unbreak build on GNU/Hurd (#3450) 2022-02-23 12:04:18 -05:00
ibmi.c ibmi: Handle interface names longer than 10 chars 2021-04-28 16:51:30 +01:00
internal.h aix, ibmi: handle server hang when remote sends TCP RST (#3482) 2022-03-10 23:53:04 +00:00
kqueue.c process: fix hang after NOTE_EXIT (#3521) 2022-03-09 12:25:51 -05:00
linux-core.c android: fix build error when no ifaddrs.h (#3505) 2022-03-03 13:18:28 +01:00
linux-inotify.c chore: use for(;;) instead of while 2021-04-04 17:15:35 +02:00
linux-syscalls.c android: add system call api guards 2020-11-05 16:00:46 -05:00
linux-syscalls.h misc: remove unnecessary _GNU_SOURCE macros 2021-05-12 18:42:29 -04:00
loop-watcher.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
loop.c core: add API to measure event loop idle time 2020-08-04 10:31:42 -04:00
netbsd.c unix: pass sysctl size arg using ARRAY_SIZE macro 2019-12-16 15:55:59 +01:00
no-fsevents.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
no-proctitle.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
openbsd.c src: add uv__reallocf() 2020-03-15 10:00:15 -04:00
os390-proctitle.c zos: use custom proctitle implementation 2021-02-15 17:18:59 +00:00
os390-syscalls.c zos: use destructor for uv__threadpool_cleanup() (#3376) 2021-12-03 10:04:44 +01:00
os390-syscalls.h zos: use destructor for uv__threadpool_cleanup() (#3376) 2021-12-03 10:04:44 +01:00
os390.c uv: register __rfim_event 156 as UV_RENAME (#3540 3/3) 2022-04-11 11:31:57 -04:00
pipe.c aix, ibmi: handle server hang when remote sends TCP RST (#3482) 2022-03-10 23:53:04 +00:00
poll.c core: Correct the conditionals for {cloexec,nonblock}_ioctl 2021-06-08 13:10:35 -04:00
posix-hrtime.c unix: factor out reusable POSIX hrtime impl 2017-03-03 15:52:42 +01:00
posix-poll.c core: add API to measure event loop idle time 2020-08-04 10:31:42 -04:00
process.c macos: avoid posix_spawnp() cwd bug (#3597) 2022-04-15 14:10:27 -04:00
procfs-exepath.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
proctitle.c zos: use custom proctitle implementation 2021-02-15 17:18:59 +00:00
pthread-fixes.c unix: use relaxed loads/stores for feature checks 2020-06-16 11:42:51 +02:00
qnx.c build,unix: add QNX support 2020-09-22 23:14:46 -04:00
random-devurandom.c unix: handle uv__open_cloexec return value correctly 2020-01-21 20:02:56 +01:00
random-getentropy.c unix,win: add uv_random() 2019-09-18 08:09:14 +02:00
random-getrandom.c unix,win: add uv_random() 2019-09-18 08:09:14 +02:00
random-sysctl-linux.c netbsd: use KERN_ARND sysctl to get entropy 2019-10-29 13:36:05 +01:00
signal.c stream: add uv_pipe and uv_socketpair to the API 2020-11-09 21:50:09 -05:00
spinlock.h unix: add spinlock.h 2013-10-20 13:58:34 +02:00
stream.c aix, ibmi: handle server hang when remote sends TCP RST (#3482) 2022-03-10 23:53:04 +00:00
sunos.c sunos: fs-event callback can be called after uv_close() (#3542) 2022-04-11 11:25:59 -04:00
sysinfo-loadavg.c unix: factor out reusable sysinfo loadavg impl 2017-05-21 16:12:16 +02:00
sysinfo-memory.c unix: factor out reusable sysinfo memory lookup 2017-05-21 16:12:14 +02:00
tcp.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
thread.c unix: don't allow too small thread stack size (#3423) 2022-01-17 09:36:26 +01:00
tty.c aix, ibmi: handle server hang when remote sends TCP RST (#3482) 2022-03-10 23:53:04 +00:00
udp.c ibmi: Implement UDP disconnect (#3561) 2022-03-18 12:03:47 +00:00