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