pub fn classify_errno(errno: i32) -> KexecErrorExpand description
Classify a raw errno from kexec_file_load(2) into KexecError.
Exposed so tests can verify the mapping without issuing the real syscall.
pub fn classify_errno(errno: i32) -> KexecErrorClassify a raw errno from kexec_file_load(2) into KexecError.
Exposed so tests can verify the mapping without issuing the real syscall.