fn kernel_walks_alike(pid: u32, dirfd: i32, path: &[u8], host: &[u8]) -> boolExpand description
Whether the kernel, walking path from the tracee’s dirfd by itself,
reaches host.
The descriptor is a host directory already, so a path that joins onto it with nothing to translate on the way (no symlink among its components, which canonicalization would have resolved) needs no rewrite.
§Arguments
pid- Tracee thread id.dirfd- A directory descriptor of the tracee.path- Path relative to it, as the tracee passed it.host- What translation resolved it to.