Changes for version 0.02 - 2006-08-31
- You can now set the values of variables (assuming they are not read-only).
- Fixed up coredumps when sysctl values are zero-length ASCII strings. Removed the %MIB_SKIP hack.
- Use a buffer sized for the size of the result, rather than a fixed-length buffer, to retrieve sysctl values that are very large (larger than BUFSIZ). Perhaps still sub-optimal.
- Avoided using unnecessary BUFSIZ-sized buffers in a couple of places.
- Added a sysctl_description() function to return the OS-defined descriptive name of a sysctl variable.
- Now able to retrieve opaque values like kern.geom.confxml.
- Use RETVAL directly in _mib_lookup().
- Detabbed various files.
Modules
Fetch sysctl values from BSD-like systems