Thread (5 messages) 5 messages, 2 authors, 2012-02-27

task_struct's real_parent vs parent members

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help