Open
Description
Related: #1760
Syscall:
https://man7.org/linux/man-pages/man2/pidfd_getfd.2.html
It should be possible to use this syscall to implement DuplicateAndClose, it seems with it Linux no longer fundamentally differs from Windows' WSADuplicateSocket. Though I can imagine the ptrace permission requirement may be problematic.