]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] UML - Improve host PTRACE_SYSEMU check
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Jun 2007 20:57:50 +0000 (16:57 -0400)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:49 +0000 (11:36 -0700)
commit5eba323639c5964dab344eba4f8613c1e724be6a
tree6bb0a977ad490d1bfd344a0a1992b4c51aa71d49
parentce6ea86f71e02e0ae421475d3b03eda9fb7088cd
[PATCH] UML - Improve host PTRACE_SYSEMU check

Make the PTRACE_SYSEMU checking more robust.  It will make sure that
system call numbers are reported correctly.  If there is a problem, it
will disable PTRACE_SYSEMU use and use PTRACE_SYSCALL instead.

This fixes a hang on boot on FC6 hosts with a broken PTRACE_SYSEMU.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--
 arch/um/os-Linux/start_up.c |   24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)
arch/um/os-Linux/start_up.c