Skip to main content

check_task_create_access

Function check_task_create_access 

Source
pub fn check_task_create_access(current_task: &CurrentTask) -> Result<(), Errno>
Expand description

Checks if creating a task is allowed. Corresponds to the task_alloc() LSM hook, except this hook doesn’t modify the task’s label.