Date: Tue, 16 Aug 2005 15:33:07 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> Cc: m.ehinger@ltur.de, freebsd-arch@FreeBSD.org Subject: Re: sysctl_proc calls handler twice Message-ID: <20050816133307.GD3944@garage.freebsd.pl> In-Reply-To: <20050816221033.C47830@delplex.bde.org> References: <OF28F4B4F7.07CB26A2-ONC125705E.00222E3B-C125705E.00226191@gateway-inter.net> <20050816221033.C47830@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--T6xhMxlHU34Bk0ad Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 16, 2005 at 11:17:21PM +1000, Bruce Evans wrote: +> No, just don't call it twice like sysctl(8) if you know the size in adva= nce +> or from a previous call (and know that it won't change or handle the err= or +> from it changing...). Thread's author, as I understand/guess it, represents kernel side. He doesn't want his handler to be called twice and tools like sysctl(8) are not able to know size of every sysctl, so he just has to be ready that his handler will be called twice. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --T6xhMxlHU34Bk0ad Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDAesTForvXbEpPzQRAljFAJ4vMsSlgjczWLL9+AHtGZ3hxu8YHgCcDnog 7hJ5tcPSKmQV12DkE6TsU+M= =8MMb -----END PGP SIGNATURE----- --T6xhMxlHU34Bk0ad--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050816133307.GD3944>