Skip to main content

is_kernel_object

Function is_kernel_object 

Source
pub fn is_kernel_object(path: &str) -> bool
Expand description

Whether path names a kernel object under /proc, /sys or /dev rather than a host input file: its metadata is not file content, and Hermit virtualizes those trees separately.