Date: Fri, 21 Jan 2011 13:04:39 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: mdf@FreeBSD.org Cc: FreeBSD Arch <freebsd-arch@freebsd.org> Subject: Re: Automagic SYSCTLs Message-ID: <86hbd2bgyw.fsf@ds4.des.no> In-Reply-To: <AANLkTi=cbdS0g370r=X%2B=uSd0vsRdC0oRkugq-nsBpgy@mail.gmail.com> (mdf@freebsd.org's message of "Sat, 15 Jan 2011 16:12:45 -0800") References: <AANLkTi=cbdS0g370r=X%2B=uSd0vsRdC0oRkugq-nsBpgy@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
mdf@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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hbd2bgyw.fsf>