task_struct's real_parent vs parent members
From: Mulyadi Santosa <hidden>
Date: 2012-02-27 07:48:59
From: Mulyadi Santosa <hidden>
Date: 2012-02-27 07:48:59
Hi Vimal... On Mon, Feb 27, 2012 at 03:40, Vimal [off-list ref] 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