Automagic SYSCTLs
Dag-Erling Smørgrav
des at des.no
Fri Jan 21 12:12:46 UTC 2011
mdf at FreeBSD.org writes:
> The gist is that the handler knows the sizeof the variable in the
> kernel and uses this to copy out. For the case of a long, there's
> some goop for SCTL_MASK32. For the case of 8 and 16 bit variables,
> they are still copied in and out as 32-bit quantities.
The inevitable question:
- does this break the KBI? (I assume it does, almost inevitably)
- does this break the ABI? (I hope it does not)
I'm in favor of the principle, what we have now is a mess.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-arch
mailing list