mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
3feab00093
open pidfd in child process and send to the parent via SOCK_SEQPACKET+CMSG This avoids using `clone3` when a pidfd is requested while still getting it in a 100% race-free manner by passing it up from the child process. This should solve most concerns in #82971