Date: Mon, 16 Apr 2001 18:08:09 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Darren Reed <darrenr@reed.wattle.id.au> Cc: hackers@FreeBSD.ORG Subject: Re: User-defined bit in sysctl flags ? Message-ID: <20010416180809.N976@fw.wintelcom.net> In-Reply-To: <200104162036.GAA25344@avalon.reed.wattle.id.au>; from darrenr@reed.wattle.id.au on Tue, Apr 17, 2001 at 06:36:21AM %2B1000 References: <200104162036.GAA25344@avalon.reed.wattle.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
* Darren Reed <darrenr@reed.wattle.id.au> [010416 13:37] wrote: > > What do people think about having a range of bits in oid_kind that are > not used by FreeBSD but are only to be used by ``private'' sysctl handlers? > > e.g. > > #define CTLFLAG_PRIVATE 0x000ffff0 > > Do I need elaborate any further ? I think a half-paragraph explaining what this does would help. :) I'm assuming this allows someone to have thier own private numbered mib in the sysctl tree, my question is why are you using hardcoded numbers rather than names? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010416180809.N976>