freebsd-nq/sys/compat/linux
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
..
linux_emul.c MFp4 (113077, 113083, 113103, 113124, 113097): 2007-01-20 14:58:59 +00:00
linux_emul.h MFp4 (112498): 2007-01-07 19:00:38 +00:00
linux_file.c Add support for LINUX_O_DIRECT, LINUX_O_DIRECT and LINUX_O_NOFOLLOW flags 2007-01-18 09:32:08 +00:00
linux_futex.c Change futex lock from mutex to sx. Make futex_get atomic (protected by the 2006-09-09 16:25:25 +00:00
linux_futex.h Add some new files needed for linux 2.6.x compatibility. 2006-08-15 12:20:59 +00:00
linux_getcwd.c Add missed ")". Fix the build. 2006-11-18 17:27:39 +00:00
linux_ioctl.c - Protect the list of linux ioctl handlers with an sx lock. 2006-07-06 21:42:36 +00:00
linux_ioctl.h Now that we don't have a linuxolator on alpha anymore: 2006-05-10 20:38:16 +00:00
linux_ipc.c MFp4 (112379): 2007-01-14 16:34:43 +00:00
linux_ipc.h MFP4 (110956): 2006-12-21 13:11:06 +00:00
linux_mib.c MFp4 (112705): 2007-01-14 16:07:01 +00:00
linux_mib.h MFp4 (111746+): 2006-12-31 12:39:10 +00:00
linux_misc.c MFp4 (112646): 2007-01-07 19:30:19 +00:00
linux_misc.h MFp4: 2006-12-31 11:56:16 +00:00
linux_signal.c MFp4 (112534): 2007-01-07 19:14:06 +00:00
linux_signal.h MFP4 (107868 - 107870): 2006-10-15 12:51:43 +00:00
linux_socket.c MFp4: 2006-09-23 19:06:54 +00:00
linux_socket.h
linux_stats.c MFP4: 109652 2006-12-04 22:38:52 +00:00
linux_sysctl.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_time.c MFP4: 109655 2006-12-20 20:17:35 +00:00
linux_uid16.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
linux_util.c Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
linux_util.h Axe the stackgap macros as the Linux ABIs no longer use the stackgap. 2006-06-27 18:30:49 +00:00