Function exec_through_gate
Source unsafe fn exec_through_gate(
path: *const c_char,
argv: *const *const c_char,
envp: *const *const c_char,
) -> i64
Expand description
execve through the allow gate. Allocation free.
§Arguments
path - Program to exec.
argv - Its argument vector.
envp - Its environment.
§Returns
The negative errno of a failed exec; a successful one does not return.
§Safety
map_gates must have succeeded, and the pointers be valid for execve.