freebsd-dev/sys/compat
peter c140244d55 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 Add __elfN(dump_thread). This function is called from __elfN(coredump) 2004-08-11 02:35:06 +00:00
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 Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a common 2004-03-13 19:46:27 +00:00
pecoff Change the types of vn_rdwr_inchunks()'s len and aresid arguments to 2004-06-05 02:18:28 +00:00
svr4 Rework how we store process times in the kernel such that we always store 2004-10-05 18:51:11 +00:00