Date: Tue, 19 Nov 2002 16:53:41 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Garrett Wollman <wollman@lcs.mit.edu> Cc: cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern vfs_aio.c src/lib/libc/gen sysconf.c src/sys/posix4 posix4.h posix4_mib.c Message-ID: <20021119163919.K29511-100000@gamplex.bde.org> In-Reply-To: <200211181755.gAIHtpa4015337@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Nov 2002, Garrett Wollman wrote: > <<On Sun, 17 Nov 2002 19:02:08 +1100 (EST), Bruce Evans <bde@zeta.org.au> said: > > The CTL_P1003_1B_* constants seem to be in <sys/sysctl.h> now (I'm 10 > > days behind -current). Couldn't all of these be OID_AUTO and not have > > pre-assigned numbers? Having to preassign the numbers gets in the way > > of even incremental development of the features (assuming sysctl does > > the right thing for completely unimplemented features). > > The sysconf() tokens have to be pre-assigned already, and I'd prefer > to avoid the bloat of having a boatload of mostly-identical strings in > the implementation of sysconf(). Hmm. An implementation from scratch could have the separate namespace for P100x mibs as a feature -- use it for the entire sysconf() namespace so that the sysconf() tokens can be reused for sysctl() tokens. But I agree that breaking binary compatibility would be bad. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119163919.K29511-100000>