]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] uml: fix TT mode by reverting "use fork instead of clone"
authorblaisorblade@yahoo.it <blaisorblade@yahoo.it>
Tue, 12 Jul 2005 17:28:37 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Jul 2005 21:15:26 +0000 (14:15 -0700)
commitb050ac70a8b72a48a8ab3130c35dfe38850b668b
treee74fcbeb8b12a6c87afbf32424f6b1b7d1755b7e
parent19a51b0ee71ee00497619f441c59b4acd44cf1e5
[PATCH] uml: fix TT mode by reverting "use fork instead of clone"

From: Jeff Dike <jdike@addtoit.com>, Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

Revert the following patch, because of miscompilation problems in different
environments leading to UML not working *at all* in TT mode; it was merged
lately in 2.6 development cycle, a little after being written, and has caused
problems to lots of people; I know it's a bit too long, but it shouldn't have
been merged in first place, so I still apply for inclusion in the -stable
tree. Anyone using this feature currently is either using some older kernel
(some reports even used 2.6.12-rc4-mm2) or using this patch, as included in my
-bs patchset.

For now there's not yet a fix for this patch, so for now the best thing is to
drop it (which was widely reported to give a working kernel).

"Convert the boot-time host ptrace testing from clone to fork.  They were
essentially doing fork anyway.  This cleans up the code a bit, and makes
valgrind a bit happier about grinding it."

URL:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=98fdffccea6cc3fe9dba32c0fcc310bcb5d71529

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/kernel/process.c