Date: Tue, 14 Nov 1995 11:06:11 -0800 From: David Greenman <davidg@Root.COM> To: peter@haywire.dialix.com (Peter Wemm) Cc: freebsd-hackers@freebsd.org Subject: Re: Can't NFS mount with latest -current Message-ID: <199511141906.LAA00617@corbin.Root.COM> In-Reply-To: Your message of "15 Nov 95 02:38:36 %2B0800." <48annc$8lr$1@haywire.DIALix.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
>Anyway, Poul-Henning has created two sysctl types.. one is a >null-terminated "C-style" string, and the other is an "opaque" chunk >of byte counted memory. IMHO, the string version should always return >the correct amount of characters that the string actually uses. If >the whole block is to be returned, that's what the opaque type is for. Yes, the "size" argument should be used to limit the copy, not prevent it from happening. We should be using copyoutstr() for this. -DG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511141906.LAA00617>