freebsd-dev/sys/compat/freebsd32
Peter Wemm a7bc3102c4 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_misc.c Put on my peril sensitive sunglasses and add a flags field to the internal 2004-10-11 22:04:16 +00:00
freebsd32_proto.h Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00
freebsd32_syscall.h Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00
freebsd32_syscalls.c Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00
freebsd32_sysent.c Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00
freebsd32_util.h Eliminate stackgap usage for the (woefully incomplete) path translations 2003-12-23 02:48:11 +00:00
freebsd32.h Catch up to the not-so-recent statfs(2) changes. 2004-04-14 23:17:37 +00:00
Makefile Begin attempting to consolidate the two different i386 emulations 2003-08-22 22:51:48 +00:00
syscalls.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
syscalls.master Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00