[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTin6CmO+PfyGkUL3fg3REGXU=7DS7g@mail.gmail.com>
Date: Wed, 8 Jun 2011 18:33:39 +0200
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Oleg Nesterov <oleg@...hat.com>, Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] make former thread ID available via PTRACE_GETEVENTMSG after
PTRACE_EVENT_EXEC stop
Hi Oleg,
As discussed, the attached patch allows tracer to figure out
which of its potentially many tracees performed an execve,
and what was its former tid.
Not sure what kind of locking, if any, I need to put around
current->parent...
The patch is on top of Tejun's patches.
--
vda
View attachment "pass_old_pid_on_PTRACE_EVENT_EXEC.patch" of type "text/x-patch" (1227 bytes)
Powered by blists - more mailing lists