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

From: Tejun Heo
Date: Wed Jul 20 2011 - 10:23:51 EST


Hello,

On Wed, Jul 20, 2011 at 09:21:29AM -0500, Serge Hallyn wrote:
> 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
> detail)?

Hmmm... there are some intersecting parts but they don't completely
overlap. I'll reply to Pavel's series soon.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/