freebsd-dev/sys/compat
David Malone 041b706b2f Despite several examples in the kernel, the third argument of
sysctl_handle_int is not sizeof the int type you want to export.
The type must always be an int or an unsigned int.

Remove the instances where a sizeof(variable) is passed to stop
people accidently cut and pasting these examples.

In a few places this was sysctl_handle_int was being used on 64 bit
types, which would truncate the value to be exported.  In these
cases use sysctl_handle_quad to export them and change the format
to Q so that sysctl(1) can still print them.
2007-06-04 18:25:08 +00:00
..
freebsd32 Remove duplicate includes. 2007-05-23 13:36:02 +00:00
ia32 Allow FreeBSD's native ELF image activators to execute shared libraries the 2007-05-22 02:22:58 +00:00
linprocfs Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00
ndis Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
opensolaris Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Revert VMCNT_* operations introduction. 2007-05-31 22:52:15 +00:00