Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719Ab0AYUbo (ORCPT ); Mon, 25 Jan 2010 15:31:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752654Ab0AYUbn (ORCPT ); Mon, 25 Jan 2010 15:31:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10063 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908Ab0AYUbm (ORCPT ); Mon, 25 Jan 2010 15:31:42 -0500 Subject: Re: linux-next: add utrace tree From: Mark Wielaard To: Linus Torvalds Cc: "Frank Ch. Eigler" , Stephen Rothwell , Kyle Moffett , tytso@mit.edu, Peter Zijlstra , Peter Zijlstra , Fr??d??ric Weisbecker , Oleg Nesterov , Steven Rostedt , LKML , Arnaldo Carvalho de Melo , linux-next@vger.kernel.org, Thomas Gleixner , "H. Peter Anvin" , utrace-devel@redhat.com In-Reply-To: References: <20100122221348.GA4263@redhat.com> <20100123112333.GA15455@elte.hu> <20100123114729.GA7828@redhat.com> <20100123194820.GM21263@thunk.org> <20100125170254.GB22862@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 25 Jan 2010 21:30:53 +0100 Message-ID: <1264451453.3028.59.camel@springer.wildebeest.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 31 On Mon, 2010-01-25 at 09:36 -0800, Linus Torvalds wrote: > Upon the information that people are talking about magic new kernel > interfaces to do fancy things. And talking about doing things with it that > are simply not relevant for ptrace/strace. Unfortunately ptrace does all that magic already (badly). People don't just use it for (s)tracing syscalls, but also for tracing signals, for single step debugging and poking at memory, register state, for process jailing and virtualization (uml) through syscall emulation. So when they are talking about these fancy things that is because that is what ptrace gives them currently. And they hate it, because the ptrace interface is such a pain to work with. And all these things don't really work together. You cannot trace, emulate, debug, jail at the same time. And all these users have wishes to extend the current ptrace interface mess. But nobody dares to extend ptrace in any direction because fixing/cleaning up one of these use cases might break the others in subtle and not so subtle ways. Which is why the utrace series of patches is cleaning up all this stuff first. Cheers, Mark -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/