Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2007 15:25:01 +0200
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-questions@freebsd.org
Cc:        Buganini <buganini@gmail.com>
Subject:   Re: PT_PAUSE ?
Message-ID:  <200709141525.03523.tijl@ulyssis.org>
In-Reply-To: <e5b1e8d40709131121j68019233o6a9daa1a4ebd4e2f@mail.gmail.com>
References:  <e5b1e8d40709131121j68019233o6a9daa1a4ebd4e2f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709141525.03523.tijl>