Re: [PATCH] prevent sending wrong signals to a traced process whose tracer gets killed

2007-12-05 Thread Petr Tesarik
Petr Tesarik wrote: > Hi, > > I experienced troubles when tracing a process with strace. Sometimes, > when I killed the strace process (SIGKILL), the traced process was also > killed. I found out that it was getting SIGTRAP and, indeed, when the > traced process set up a signal handler for SIGTRAP

[PATCH] prevent sending wrong signals to a traced process whose tracer gets killed

2007-12-04 Thread Petr Tesarik
Hi, I experienced troubles when tracing a process with strace. Sometimes, when I killed the strace process (SIGKILL), the traced process was also killed. I found out that it was getting SIGTRAP and, indeed, when the traced process set up a signal handler for SIGTRAP, it no longer died. I noticed