lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100121163145.7e958c3f.akpm@linux-foundation.org>
Date:	Thu, 21 Jan 2010 16:31:45 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Stephen Rothwell <sfr@...b.auug.org.au>,
	Ingo Molnar <mingo@...e.hu>,
	Ananth N Mavinakayanahalli <ananth@...ibm.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Peter Zijlstra <peterz@...radead.org>,
	Fr??d??ric Weisbecker <fweisbec@...il.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	"Frank Ch. Eigler" <fche@...hat.com>, linux-next@...r.kernel.org,
	"H. Peter Anvin" <hpa@...or.com>, utrace-devel@...hat.com,
	Thomas Gleixner <tglx@...utronix.de>,
	Linus <torvalds@...ux-foundation.org>
Subject: Re: linux-next: add utrace tree

On Thu, 21 Jan 2010 16:30:04 -0800
Andrew Morton <akpm@...ux-foundation.org> wrote:

> Someone please sell this to us.

Here's what Oleg said last time I asked this:

  First of all, utrace makes other things possible.  gdbstub,
  nondestructive core dump, uprobes, kmview, hopefully more.  I didn't
  look at these projects closely, perhaps other people can tell more.  As
  for their merge status, until utrace itself is merged it is very hard to
  develop them out of tree.

  To me, even seccomp is the good example why utrace is useful.  seccomp
  is simple, but it needs hooks in arch/ hot pathes.  Contrary,
  utrace-based implementation is more flexible, simple, and it is
  completely "hidden" behind utrace.

  In my opinion, ptrace-utrace is another example.  Once CONFIG_UTRACE
  goes away, we can remove almost all ptrace-related code from core kernel
  (and kill task_struct->ptrace/etc members).

  ftrace/etc is excellent in many ways, but even if we need the simple
  "passive" tracing it is not enough sometimes.  And we have nothing else
  except ptrace currently.  But ptrace is so horrible and unfixeable, and
  it has so many limitations.  In fact, even the simple things like stop/
  continue this thread/process are not trivial using ptrace, gdb/strace
  have to do a lot of hacks to overcome ptrace's limitations, and some of
  these hacks falls into "mostly works, but that is all" category.

  Of course, I can't promise we will have the new gdb which explores
  utrace facilities soon, but I think at least utrace gives a chance.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ