MCPcopy Create free account
hub / github.com/asterinas/vostd / create_init_task

Function create_init_task

kernel/src/process/process/init_proc.rs:100–129  ·  view source on GitHub ↗

Creates the init task from the given executable file.

(
    tid: Tid,
    process_vm: &ProcessVm,
    executable_path: &str,
    process: Weak<Process>,
    argv: Vec<CString>,
    envp: Vec<CString>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

create_init_processFunction · 0.85

Calls 12

newFunction · 0.85
resolverMethod · 0.80
clear_and_mapMethod · 0.80
load_to_vmMethod · 0.80
readMethod · 0.45
lookupMethod · 0.45
set_stack_pointerMethod · 0.45
fsMethod · 0.45
processMethod · 0.45
thread_nameMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected