Auto merge of #1512 - padenot:reset-on-fork, r=gnzlbg
Auto merge of #1512 - padenot:reset-on-fork, r=gnzlbg

Add SCHED_RESET_ON_FORK

This is a fix for #1511, and is valid for musl and glibc.

rust-lang/libc,rust-lang/libc,rust-lang/libc