Function kernel::executable::load_elf_to_vm
source · pub unsafe fn load_elf_to_vm(
elf: &Elf,
file: &mut File,
process_meta: &mut ProcessMetadata,
vm: &mut VirtualMemoryMapper
) -> Result<(usize, usize), FileSystemError>
Expand description
Safety
The vm
passed must be an exact kernel clone to the current vm
without loading new process specific mappings