pub fn proc_self_fdinfo_fd<Fd: AsFd>(fd: Fd) -> Result<OwnedFd>
Returns a handle to a Linux /proc/self/fdinfo/<fd> file.
/proc/self/fdinfo/<fd>
This ensures that /proc/self/fdinfo/<fd> is procfs, that nothing is mounted on top of it, and that it looks normal.
procfs