Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/kernel/src/libs/
Delf.rs24 exec::{BinaryLoader, BinaryLoaderResult, ExecError, ExecLoadMode, ExecParam},
55 ) -> Result<(), ExecError> { in probe_x86_64() argument
58 return Err(ExecError::WrongArchitecture); in probe_x86_64()
63 return Err(ExecError::WrongArchitecture); in probe_x86_64()
70 return Err(ExecError::NotExecutable); in probe_x86_64()
73 return Err(ExecError::NotSupported); in probe_x86_64()
93 ) -> Result<(), ExecError> { in set_elf_brk() argument
106 return Err(ExecError::OutOfMemory); in set_elf_brk()
347 ) -> Result<(), ExecError> { in create_auxv() argument
464 fn probe(self: &'static Self, param: &ExecParam, buf: &[u8]) -> Result<(), ExecError> { in probe() argument
[all …]