task_alloc_for_kernel

Function task_alloc_for_kernel 

Source
pub fn task_alloc_for_kernel() -> TaskState
Expand description

Return the default initial TaskState for kernel tasks. Corresponds to the task_alloc() LSM hook, in the special case when current_task is null.