Re: [EXAMPLE CODE] Parasite thread injection using PTRACE_SEIZE andfriends

From: Serge Hallyn
Date: Wed Jul 20 2011 - 10:21:52 EST

Quoting Tejun Heo (tj@xxxxxxxxxx):
> On Wed, Jul 20, 2011 at 04:00:37PM +0200, Tejun Heo wrote:
> > With new ptrace requests, a process can be captured and manipulated
> > practically transparently. Other than syscall retry or -EINTR failure
> > in special cases and timing difference, everything including job
> > control stop state stays transparent across ptrace operations.
> Ooh, forgot to mention something. The ptracer can also reliably
> determine whether job control stop is in effect or not, so the whole
> job control state can be captured.

It sounds cool, thanks. Is this completely separate from Pavel's
CR patchset (which I've not yet gotten around to looking at in

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at