|
|
Subscribe / Log in / New account

Attaching file descriptors to processes with CLONE_FD

Attaching file descriptors to processes with CLONE_FD

Posted Jun 16, 2015 15:05 UTC (Tue) by nix (subscriber, #2304)
In reply to: Attaching file descriptors to processes with CLONE_FD by tromey
Parent article: Attaching file descriptors to processes with CLONE_FD

Agreed! Hell, I had to pile a variant of the old waitfd() API into the oracle enterprise kernel for the sake of *one program* that wanted to do ptrace() waits while also waiting on a message-passing fd from elsewhere. No point sending it upstream -- it was already rejected on the grounds that you can always just waitpid() from another thread. Not if the waitpid() is waiting for ptrace() results you can't.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds