uml: replace clone with fork
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:09 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:06 +0000 (09:43 -0700)
commit3cdaf45578b9aa1eb748d0a32678ee5a0180575b
treec31ec1a650ae7378215b446f12431a736d5d6d67
parent8ca842c4b5cbc70b9180617e9f26b6ac9f40dbb9
uml: replace clone with fork

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.

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