uml: work around broken host PTRACE_SYSEMU
authorJeff Dike <jdike@addtoit.com>
Thu, 12 Jun 2008 22:21:41 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:40 +0000 (18:05 -0700)
commitf1ef9167ca4494a8c6d71d0031c73e9c8841eadd
treea4c5a1420501a54ddd5bcf44ff7224e3293e8d3e
parent14c8a77e1bbd693446dad297d2ae2dd22f187e4f
uml: work around broken host PTRACE_SYSEMU

Fedora broke PTRACE_SYSEMU again, and UML crashes as a result when it
doesn't need to.  This patch makes the PTRACE_SYSEMU check fail gracefully
and makes UML fall back to PTRACE_SYSCALL.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/start_up.c