mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 23:55:31 +00:00
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