freebsd-dev/sys/cddl/compat/opensolaris/kern
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
..
opensolaris_kmem.c Try to stabilize ZFS with regard to memory consumption: 2007-04-10 02:35:57 +00:00
opensolaris_kobj.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
opensolaris_kstat.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
opensolaris_misc.c MFp4: Reduce diff against vendor code: 2007-04-23 00:52:07 +00:00
opensolaris_policy.c
opensolaris_string.c strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
opensolaris_vfs.c Reimplement traverse() helper function: 2007-06-04 11:31:46 +00:00
opensolaris_zone.c