1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sys/compat
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
..
freebsd32 Regen. 2006-12-20 19:39:10 +00:00
ia32 Move some declaration of 32-bit signal structures into file 2006-10-05 01:56:11 +00:00
linprocfs Ooops, fix the ratelimit. 2007-01-20 11:31:14 +00:00
linsysfs MFP4 (110957) 2006-12-03 21:00:31 +00:00
linux MFp4 (113077, 113083, 113103, 113124, 113097): 2007-01-20 14:58:59 +00:00
ndis add entry points required by newer broadcom wireless driver 2006-12-25 17:04:41 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Regen. 2006-11-11 21:49:08 +00:00