diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-08 13:36:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-08 13:36:07 +0100 |
| commit | eef9951e443a051495bd4758d6265a95f01aa5b9 (patch) | |
| tree | 14cb2cf466216b7f6910bcada1d5ad4cb630d51a /src/test/codegen/src-hash-algorithm | |
| parent | 834d761df2603cc1af229ebc13d751ffacc43206 (diff) | |
| parent | 3bee37c290fdd362fd4fd393606cc53acf1e7375 (diff) | |
| download | rust-eef9951e443a051495bd4758d6265a95f01aa5b9.tar.gz rust-eef9951e443a051495bd4758d6265a95f01aa5b9.zip | |
Rollup merge of #78572 - de-vri-es:bsd-cloexec, r=m-ou-se
Use SOCK_CLOEXEC and accept4() on more platforms. This PR enables the use of `SOCK_CLOEXEC` and `accept4` on more platforms. ----- Android uses the linux kernel, so it should also support it. DragonflyBSD introduced them in 4.4 (December 2015): https://www.dragonflybsd.org/release44/ FreeBSD introduced them in 10.0 (January 2014): https://wiki.freebsd.org/AtomicCloseOnExec Illumos introduced them in a commit in April 2013, not sure when it was released. It is quite possible that is has always been in Illumos: https://github.com/illumos/illumos-gate/commit/5dbfd19ad5fcc2b779f40f80fa05c1bd28fd0b4e https://illumos.org/man/3socket/socket https://illumos.org/man/3socket/accept4 NetBSD introduced them in 6.0 (Oktober 2012) and 8.0 (July 2018): https://man.netbsd.org/NetBSD-6.0/socket.2 https://man.netbsd.org/NetBSD-8.0/accept.2 OpenBSD introduced them in 5.7 (May 2015): https://man.openbsd.org/socket https://man.openbsd.org/accept
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
