]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uml: work around broken host PTRACE_SYSEMU
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Aug 2008 20:14:09 +0000 (16:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:15:40 +0000 (11:15 -0700)
commitec70bce783891791930988bbd137c74dc8b416fc
treef30662ee01e67347d31ed6959ab13bb724be6067
parent38f6a47d3889def2a4d87e4f8b636fa7cf14cac4
uml: work around broken host PTRACE_SYSEMU

commit f1ef9167ca4494a8c6d71d0031c73e9c8841eadd upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/os-Linux/start_up.c