freebsd-nq/sys/compat
Alexander Leidinger 9b44bfc556 Add the linux 2.6.x stuff (not used by default!):
- TLS - complete
 - pid/tid mangling - complete
 - thread area - complete
 - futexes - complete with issues
 - clone() extension - complete with some possible minor issues
 - mq*/timer*/clock* stuff - complete but untested and the mq* stuff is
   disabled when not build as part of the kernel with native FreeBSD mq*
   support (module support for this will come later)

Tested with:
 - linux-firefox - works, tested
 - linux-opera - works, tested
 - linux-realplay - doesnt work, issue with futexes
 - linux-skype - doesnt work, issue with futexes
 - linux-rt2-demo - works, tested
 - linux-acroread - doesnt work, unknown reason (coredump) and sometimes
   issue with futexes
 - various unix utilities in linux-base-gentoo3 and linux-base-fc4:
   everything tried worked

On amd64 not everything is supported like on i386, the catchup is planned for
later when the remaining bugs in the new functions are fixed.

To test this new stuff, you have to run
	sysctl compat.linux.osrelease=2.6.16
to switch back use
	sysctl compat.linux.osrelease=2.4.2

Don't switch while running a linux program, strange things may or may not
happen.

Sponsored by:			Google SoC 2006
Submitted by:			rdivacky
Some suggestions/help by:	jhb, kib, manu@NetBSD.org, netchild
2006-08-15 12:54:30 +00:00
..
freebsd32 Regen for MPSAFE flag removal. 2006-07-28 19:08:37 +00:00
ia32 Remove kern.elf32.can_exec_dyn sysctl. Instead extend Brandinfo structure 2005-12-26 21:23:57 +00:00
linprocfs Lock the vnode around the call to VOP_GETATTR. Move the locked code 2006-08-08 12:29:26 +00:00
linsysfs Remove the dependency on procfs since it isn't used. 2006-05-11 15:27:58 +00:00
linux Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
ndis Move conditional preprocessing out of the SYSCTL_ADD_STRING macro 2006-06-22 13:11:36 +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 With socket code no longer in svr4_stream.c, MAC includes are no longer 2006-08-05 22:04:21 +00:00