rust/src/libstd/sys/unix
Jack O'Connor 9602fe1509 replace libc::res_init with res_init_if_glibc_before_2_26
The previous workaround for gibc's res_init bug is not thread-safe on
other implementations of libc, and it can cause crashes. Use a runtime
check to make sure we only call res_init when we need to, which is also
when it's safe. See https://github.com/rust-lang/rust/issues/43592.
2017-10-05 17:53:10 -04:00
..
backtrace Rollup merge of #44384 - alexcrichton:osx-segfault, r=estebank 2017-09-10 14:03:25 +02:00
ext Remove st_mode mask 2017-09-17 20:13:33 -04:00
process LP_CLONE_FDIO_ROOT is now LP_CLONE_FDIO_NAMESPACE 2017-09-24 14:31:50 -07:00
android.rs Android: Fix unused-imports warning 2016-10-14 23:02:47 +02:00
args.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
condvar.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
env.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
fast_thread_local.rs rustc: Enable #[thread_local] for Windows 2017-06-23 16:11:39 -07:00
fd.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
fs.rs Remove st_mode mask 2017-09-17 20:13:33 -04:00
l4re.rs replace libc::res_init with res_init_if_glibc_before_2_26 2017-10-05 17:53:10 -04:00
memchr.rs Use less size_t casts in libstd since it's now defined as usize 2016-10-08 15:48:28 +02:00
mod.rs Re-enable networking module fo rL4Re 2017-09-08 14:36:56 +02:00
mutex.rs Fix undefined behavior when re-locking a mutex from the same thread 2016-06-02 13:31:01 +01:00
net.rs replace libc::res_init with res_init_if_glibc_before_2_26 2017-10-05 17:53:10 -04:00
os.rs Add modifications needed for L4re in libstd 2017-09-08 14:36:56 +02:00
os_str.rs Avoid allocations in Debug for os_str 2017-06-15 20:42:37 +01:00
path.rs std: Move platform specific path code into sys 2016-10-01 19:28:17 +00:00
pipe.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
rand.rs The Magenta kernel is now called Zircon. 2017-09-24 13:53:10 -07:00
rwlock.rs Fix typos in unix/rwlock.rs 2016-08-19 21:12:36 -04:00
stack_overflow.rs Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
stdio.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
thread.rs Move default stack min size to thread implementations 2017-09-13 10:56:41 +02:00
thread_local.rs std: Avoid locks during TLS destruction on Windows 2017-05-05 06:59:49 -07:00
time.rs Properly detect overflow in Instance +/- Duration. 2017-09-07 17:14:27 +08:00
weak.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00