Home | History | Annotate | Download | only in other

Lines Matching defs:pid

19     -3	Write 32 bit PID of each exiting reparented process to fd 3 of child.
22 Spawns a single child process (because PID 1 has signals blocked)
37 // - Fork a child (PID 1 is special: can't exit, has various signals blocked).
42 // PID 1 then reaps zombies until the child process it spawned exits, at which
54 // PID 1 can't call reboot() because it kills the task that calls it,
62 int i, pid, pipes[] = {SIGUSR1, SIGUSR2, SIGTERM, SIGINT};
79 pid = vfork();
80 if (pid) {
82 // pid 1 reaps zombies until it gets its child, then halts system.
86 while (pid != wait(&i)) if (FLAG_3) i = write(4, &pid, 4);