Skip to main content

task_alloc_for_kernel

Function task_alloc_for_kernel 

Source
pub fn task_alloc_for_kernel() -> TaskAttrs
Expand description

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