On Mon, Mar 12, 2012 at 06:37:01PM +0000, Grant Edwards wrote: > On 2012-03-12, Denys Vlasenko <[email protected]> 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 <[email protected]> > > 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 <[email protected]> > > Acked-by: Tejun Heo <[email protected]> > > Acked-by: Oleg Nesterov <[email protected]> > > Cc: Pedro Alves <[email protected]> > > Cc: Jan Kratochvil <[email protected]> > > Signed-off-by: Andrew Morton <[email protected]> > > > > 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 PTRACE_TRACEME interface. -- ldv
pgpAKacgehsjF.pgp
Description: PGP signature
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
