freebsd-skq/sys/compat
peter 09964b7499 Put on my peril sensitive sunglasses and add a flags field to the internal
sysctl routines and state.  Add some code to use it for signalling the need
to downconvert a data structure to 32 bits on a 64 bit OS when requested by
a 32 bit app.

I tried to do this in a generic abi wrapper that intercepted the sysctl
oid's, or looked up the format string etc, but it was a real can of worms
that turned into a fragile mess before I even got it partially working.

With this, we can now run 'sysctl -a' on a 32 bit sysctl binary and have
it not abort.  Things like netstat, ps, etc have a long way to go.

This also fixes a bug in the kern.ps_strings and kern.usrstack hacks.
These do matter very much because they are used by libc_r and other things.
2004-10-11 22:04:16 +00:00
..
freebsd32 Put on my peril sensitive sunglasses and add a flags field to the internal 2004-10-11 22:04:16 +00:00
ia32
linprocfs Add support for 32-bit Linux binary emulation on amd64: 2004-08-16 08:19:18 +00:00
linux Rename thread args to be called "td" rather than "p" to be 2004-10-10 18:34:30 +00:00
ndis Fix compiler warnings, when __stdcall is #defined, by adding explicit casts. 2004-09-17 19:54:26 +00:00
netbsd
pecoff
svr4 Rework how we store process times in the kernel such that we always store 2004-10-05 18:51:11 +00:00