pub fn is_kernel_path(path: &Path) -> bool
Whether path is under /proc or /sys, or is one of them.
path
/proc
/sys