about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-02-04 15:22:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-02-05 17:11:02 -0800
commit46315184cb74a98dbd10a0d300a0c3ee62b78049 (patch)
tree2a83c03adb395ed5ce803b1db2d216453728f9e5 /src/liballoc_system
parent1a31e1c09f89daeefa06ca9336912e9bcadb0c1d (diff)
downloadrust-46315184cb74a98dbd10a0d300a0c3ee62b78049.tar.gz
rust-46315184cb74a98dbd10a0d300a0c3ee62b78049.zip
std: Add support for accept4 on Linux
This is necessary to atomically accept a socket and set the CLOEXEC flag at the
same time. Support only appeared in Linux 2.6.28 so we have to dynamically
determine which syscall we're supposed to call in this case.
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions