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