freebsd-src/sys
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
..
amd64 Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
arm Hook into the watchdog device, if present. Also, turn off the 2006-08-09 20:58:55 +00:00
boot Several updates: 2006-08-14 18:04:01 +00:00
bsm Merge OpenBSM 1.0 alpha 7 new AUE_ event identifiers to kernel version 2006-07-03 14:45:43 +00:00
cam access only has 2 esses. 2006-08-14 19:29:45 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
conf Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
contrib The strstr() function is in the libkern now. 2006-08-12 15:29:12 +00:00
crypto Remove trailing spaces. 2006-07-28 14:48:30 +00:00
ddb Fix two nits in the ps header that offset each other making them largely 2006-08-01 22:30:55 +00:00
dev Add inverted amplifier sense quirks for Compaq Presario B3800 2006-08-15 07:37:41 +00:00
fs Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Handle MSDOS file systems properly. Before the change file systems 2006-08-12 15:34:15 +00:00
gnu Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series 2006-07-15 19:36:28 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
ia64 First pass at allowing memory to be mapped using cache modes other than 2006-08-11 19:22:57 +00:00
isa Eliminate one set of XBOX #ifdefs. The Xbox code just needs to set a 2006-08-09 23:47:38 +00:00
isofs/cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
kern - Change process_exec function handlers prototype to include struct 2006-08-15 12:10:57 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules Don't use touch when what is really meant is :> (create an empty file, or 2006-08-14 13:28:53 +00:00
net Add the module version to fix the loading with if_bridge. 2006-08-12 20:30:58 +00:00
net80211 More statistics fixups: 2006-08-10 06:04:00 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Some perfectionizm against last revision. 2006-08-10 11:07:11 +00:00
netinet Fixes an edge case bug in timewait handling where ticks rolling over causing 2006-08-11 21:15:23 +00:00
netinet6 With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
nfs
nfs4client Always supply curthread as argument to nfs_asyncio and nfs_doio 2006-07-12 09:16:35 +00:00
nfsclient Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Add pc98 specific code to adjust the firmware geometry when it differs 2006-08-09 18:25:07 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci Don't reset Tx threshold value whenever xl_init_locked() is called. 2006-08-12 02:05:13 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during 2006-08-03 22:44:46 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Make mpo_associate_nfsd_label() return void, not int, to match 2006-08-06 16:56:15 +00:00
sparc64 Eliminate the unnecessary acquisition and release of the page queues lock 2006-08-06 19:36:07 +00:00
sys - Change process_exec function handlers prototype to include struct 2006-08-15 12:10:57 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Rather than print out a nice error message giving details sufficent to fix 2006-07-31 15:44:13 +00:00
vm Reimplement the page's NOSYNC flag as an object-synchronized instead of a 2006-08-13 00:11:09 +00:00
Makefile Don't need to special case arm here anymore 2006-08-10 06:29:43 +00:00