I see that the accept4 system call is currently exposed on Linux, but not on FreeBSD, OpenBSD or other system that support it. Here's the Unix compatibility story for that, IMHO quite useful, system call:
- Linux 2.6.28+ (24.12.2008)
- FreeBSD 10.0+ (01.02.2014)
- OpenBSD 5.7+ (01.05.2015)
- DragonFlyBSD 4.4+ (07.12.2015)
- BitRig ??? (More that 3 years ago according to
git blame on https://github.com/bitrig/bitrig/blame/master/sys/kern/syscalls.c, OTOH the BitRig 1.0 release page says it incorporates changes up to OpenBSD 5.6?, very unclear status in general IMHO…)
- NetBSD 8.0+ (Hopefully released soonish…)
- macOS/Darwin Nope, expected anything else?
Should these simply be submitted for any platform that supports them? Will that cause any issues for applications that target older platform?
Possibly related issues: #234
I see that the
accept4system call is currently exposed on Linux, but not on FreeBSD, OpenBSD or other system that support it. Here's the Unix compatibility story for that, IMHO quite useful, system call:git blameon https://github.com/bitrig/bitrig/blame/master/sys/kern/syscalls.c, OTOH the BitRig 1.0 release page says it incorporates changes up to OpenBSD 5.6?, very unclear status in general IMHO…)Should these simply be submitted for any platform that supports them? Will that cause any issues for applications that target older platform?
Possibly related issues: #234