task_alloc

Function task_alloc 

Source
pub fn task_alloc(current_task: &CurrentTask, clone_flags: u64) -> TaskState
Expand description

Returns TaskState for a new Task, based on that of current_task, and the specified clone flags. Corresponds to the task_alloc() LSM hook.