[lkml]   [2001]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectptrace() and clone() status?
// Quick questions about the 2.4 series  
Can a process ptrace() more than one process at
a time? ie: Can you PTRACE_ATTACH one process
to multiple other processes and recieve all of
their signals?

Also, there was talk some time ago about the
CLONE_PTRACE flag of clone() being changed to
send signals to the grandparent process, not
sending signals to the direct parent. Was this
change done? Is the code working?

If so, would the following be accurate:
ptrace(PTRACE_TRACEME, 0, 0, 0);
ptrace(PTRACE_TRACEME, 0, 0, 0);
// Although, for our purposes assume it
// actually sent signals to grandparent
Is the same as:
ptrace(PTRACE_TRACEME, 0, 0, 0);
clone(CLONE_PTRACE, 0);

I ask because I am having difficulty getting any
signals from CLONE_PTRACE'd children in my trace
parent. Please CC: replies to me as I am not on
the mailing list.

Cody Gould

_____________________________________________________________________________ - Father's Day Shopping
- Find the perfect gift for your Dad for Father's Day
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:1.994 / U:2.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site