task_struct's real_parent vs parent members

Mulyadi Santosa mulyadi.santosa at gmail.com
Mon Feb 27 02:48:59 EST 2012


Hi Vimal...

On Mon, Feb 27, 2012 at 03:40, Vimal <j.vimal at gmail.com> wrote:
> The documentation in sched.h:1313 says that "parent" refers to the
> parent task that would receive SIGCHLD (i.e., the one that issues
> wait4()).  I followed the wait4() syscall to do_wait(), I still am not
> able to find where the task's parent is updated.

I am bit rusty here, but AFAIK sigchld is thrown to the process who
ptrace another process. CMIIW

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list