Re: task_struct's real_parent vs parent members

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mulyadi,

You were right.   I found this code, which is called from
ptrace_attach function:

http://lxr.free-electrons.com/source/kernel/ptrace.c#L41

Thanks :)

On 27 February 2012 08:45, Vimal <j.vimal@xxxxxxxxx> wrote:
> Hi Mulyadi,
>
> On 26 February 2012 23:48, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
>> I am bit rusty here, but AFAIK sigchld is thrown to the process who
>> ptrace another process. CMIIW
>>
>
> sigchld's definition [1] says it's sent to the parent process when a
> child terminates.
>
> But I do agree that the notion of a parent seems a bit ambiguous when
> a process is being ptraced.
>
> ptrace is what I found when looking through some websites, and you may
> very well be correct.   But as always, it is good to confirm through
> code. :)   Let me try checking the ptrace functions.
>
> Thanks!
> --
> Vimal



-- 
Vimal

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux