Skip to main content

classify_errno

Function classify_errno 

Source
pub fn classify_errno(errno: i32) -> KexecError
Expand description

Classify a raw errno from kexec_file_load(2) into KexecError.

Exposed so tests can verify the mapping without issuing the real syscall.