Home
last modified time | relevance | path

Searched refs:ExecError (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/process/
Dexec.rs24 fn probe(self: &'static Self, param: &ExecParam, buf: &[u8]) -> Result<(), ExecError>; in probe() argument
30 ) -> Result<BinaryLoaderResult, ExecError>; in load() argument
52 pub enum ExecError { enum
72 impl Into<SystemError> for ExecError { implementation
75 ExecError::NotExecutable => SystemError::ENOEXEC, in into()
76 ExecError::WrongArchitecture => SystemError::EOPNOTSUPP_OR_ENOTSUP, in into()
77 ExecError::PermissionDenied => SystemError::EACCES, in into()
78 ExecError::NotSupported => SystemError::EOPNOTSUPP_OR_ENOTSUP, in into()
79 ExecError::ParseError => SystemError::ENOEXEC, in into()
80 ExecError::OutOfMemory => SystemError::ENOMEM, in into()
[all …]
/DragonOS-0.1.9/kernel/src/libs/
Delf.rs31 exec::{BinaryLoader, BinaryLoaderResult, ExecError, ExecLoadMode, ExecParam},
62 ) -> Result<(), ExecError> { in inner_probe_common() argument
65 return Err(ExecError::WrongArchitecture); in inner_probe_common()
74 return Err(ExecError::NotExecutable); in inner_probe_common()
77 return Err(ExecError::NotSupported); in inner_probe_common()
88 ) -> Result<(), ExecError> { in probe_x86_64() argument
91 return Err(ExecError::WrongArchitecture); in probe_x86_64()
101 ) -> Result<(), ExecError> { in probe_riscv() argument
104 return Err(ExecError::WrongArchitecture); in probe_riscv()
123 ) -> Result<(), ExecError> { in set_elf_brk() argument
[all …]