Alexander Leidinger d071f5048c MFp4 (113077, 113083, 113103, 113124, 113097):
Dont expose em->shared to the outside world before its properly
	initialized. Might not affect anything but its at least a better
	coding style.

	Dont expose em via p->p_emuldata until its properly initialized.
	This also enables us to get rid of some locking and simplify the
	code because we are workin on a local copy.

	In linux_fork and linux_vfork create the process in stopped state
	to be sure that the new process runs with fully initialized emuldata
	structure [1]. Also fix the vfork (both in linux_clone and linux_vfork)
	race that could result in never woken up process [2].

Reported by:	Scot Hetzel	[1]
Suggested by:	jhb		[2]
Reviewed by:	jhb (at least some important parts)
Submitted by:	rdivacky
Tested by:	Scot Hetzel (on amd64)

Change 2 comments (in the new code) to comply to style(9).

Suggested by:	jhb
2007-01-20 14:58:59 +00:00
..
2007-01-07 19:00:38 +00:00
2006-11-18 17:27:39 +00:00
2007-01-14 16:34:43 +00:00
2006-12-21 13:11:06 +00:00
2007-01-14 16:07:01 +00:00
2006-12-31 12:39:10 +00:00
2007-01-07 19:30:19 +00:00
2006-12-31 11:56:16 +00:00
2007-01-07 19:14:06 +00:00
2006-10-15 12:51:43 +00:00
2006-09-23 19:06:54 +00:00
2006-12-04 22:38:52 +00:00
2006-12-20 20:17:35 +00:00