pub fn proc_self_fd() -> Result<BorrowedFd<'static>>
Returns a handle to Linux’s /proc/self/fd directory.
/proc/self/fd
This ensures that /proc/self/fd is procfs, that nothing is mounted on top of it, and that it looks normal.
procfs