Dmitry V. Levin
ldv at altlinux.org
Mon Mar 12 19:48:09 UTC 2012
On Mon, Mar 12, 2012 at 06:37:01PM +0000, Grant Edwards wrote:
> On 2012-03-12, Denys Vlasenko <dvlasenk at redhat.com> wrote:
> > On 03/10/2012 11:17 PM, Dmitry V. Levin wrote:
> >> On Thu, Feb 09, 2012 at 07:38:27PM +0100, Denys Vlasenko wrote:
> >>> On 02/09/2012 05:29 PM, Dmitry V. Levin wrote:
> >>>> But I'd like to hear from Denys about PTRACE_SEIZE perspective first.
> >>>> We surely won't release PTRACE_SEIZE_DEVEL code enabled by default because
> >>>> the kernel API might change.
> >>> I'm going to ask kernel people to drop PTRACE_SEIZE_DEVEL.
> >> The patch was submitted in February, but current v3.3-rc6-240-gc7b2855
> >> still insists on PTRACE_SEIZE_DEVEL. Is there a prospect to release
> >> without PTRACE_SEIZE_DEVEL any time soon, or should we rather leave this
> >> experimental code disabled in the next release?
> > It's in linux-next git:
> > commit fe948360bf475b705c021fc9ba8ee3992c5d0d67
> > Author: Denys Vlasenko <vda.linux at googlemail.com>
> > Date: Tue Mar 6 11:25:31 2012 +1100
> > ptrace: remove PTRACE_SEIZE_DEVEL bit
> > PTRACE_SEIZE code is tested and ready for production use, remove the code
> > which requires special bit in data argument to make PTRACE_SEIZE work.
> > Strace team prepares for a new release of strace, and we would like to
> > ship the code which uses PTRACE_SEIZE, preferably after this change goes
> > into released kernel.
> > Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
> > Acked-by: Tejun Heo <tj at kernel.org>
> > Acked-by: Oleg Nesterov <oleg at redhat.com>
> > Cc: Pedro Alves <palves at redhat.com>
> > Cc: Jan Kratochvil <jan.kratochvil at redhat.com>
> > Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> > Looks like this change will go into linux-3.4
> Does this mean that the upcoming release of Strace will require Linux
> 3.4 or newer?
The PTRACE_SEIZE feature will work only on kernels that support this API.
On other kernels, the runtime check will fall back to traditional
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Strace-devel