Re: PT_PAUSE ?

2007-09-14 Thread Tijl Coosemans
On Thursday 13 September 2007 20:21:58 Buganini wrote:
 I want to pause a ptraced process which had been PT_CONTINUE,
 Can I just send SIGSTOP, or re-attach ?

You can send a SIGSTOP using kill(2) and then wait for the process to
actually stop using wait4(2).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PT_PAUSE ?

2007-09-13 Thread Buganini
Hi all,
I want to pause a ptraced process which had been PT_CONTINUE,
Can I just send SIGSTOP, or re-attach ?
Is there better way?

-Buganini
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]