pub fn read_link_contents(start: &File, path: &Path) -> Result<PathBuf>
Perform a readlinkat-like operation, ensuring that the resolution of the link path never escapes the directory tree rooted at start.
readlinkat
start