Lines Matching refs:ExecError
26 fn probe(&'static self, param: &ExecParam, buf: &[u8]) -> Result<(), ExecError>; in probe() argument
32 ) -> Result<BinaryLoaderResult, ExecError>; in load() argument
54 pub enum ExecError { enum
73 impl From<ExecError> for SystemError {
74 fn from(val: ExecError) -> Self { in from()
76 ExecError::NotExecutable => SystemError::ENOEXEC, in from()
77 ExecError::WrongArchitecture => SystemError::ENOEXEC, in from()
78 ExecError::PermissionDenied => SystemError::EACCES, in from()
79 ExecError::NotSupported => SystemError::ENOSYS, in from()
80 ExecError::ParseError => SystemError::ENOEXEC, in from()
81 ExecError::OutOfMemory => SystemError::ENOMEM, in from()
82 ExecError::InvalidParemeter => SystemError::EINVAL, in from()
83 ExecError::BadAddress(_addr) => SystemError::EFAULT, in from()
84 ExecError::Other(_msg) => SystemError::ENOEXEC, in from()