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

From: Tejun Heo
Date: Wed Jul 20 2011 - 10:03:43 EST


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.

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/