mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 01:40:02 +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