   ,   "   "  
   .     current  -
'.          
,           -
 .     ,  
    .

       
  .      -
           
     .

  

   Linux    .  -
    init,   PID  -
  1.    init     
.  init,   ,   ,  -
  (initscripts)    ,     -
   .

        . 
,         .
,        , -
  (siblings).      -
   .   task_struct  
  task_struct  ,   parent,
      ,  
children. ,     (current),   
       :

struct task struct *task = current->parent;

     ,   
,   :

struct task struct *task;

struct list_head *list;

list_for_each(list, &current->children) {

task = list entry(list, struct task_struct, sibling);

/*  task      ,
   */

}

  init        -
 init_task.       
   ,    .

      ,    6, "-
   ".         ,
   .        ,
    .

52                                                                            3