:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
is_global_init(9) - phpMan

Command: man perldoc info search(apropos)  


IS_GLOBAL_INIT(9)                         Driver Basics                         IS_GLOBAL_INIT(9)



NAME
       is_global_init - check if a task structure is init. Since init is free to have sub-threads
       we need to check tgid.

SYNOPSIS
       int is_global_init(struct task_struct * tsk);

ARGUMENTS
       tsk
           Task structure to be checked.

DESCRIPTION
       Check if a task structure is the first user space task the kernel created.

RETURN
       1 if the task structure is init. 0 otherwise.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                         IS_GLOBAL_INIT(9)


/man
rootr.net - man pages