From owner-cvs-all Mon Nov 18 21:41: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C492237B401; Mon, 18 Nov 2002 21:40:59 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26D043E4A; Mon, 18 Nov 2002 21:40:56 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA08298; Tue, 19 Nov 2002 16:40:49 +1100 Date: Tue, 19 Nov 2002 16:53:41 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Garrett Wollman Cc: cvs-committers@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 In-Reply-To: <200211181755.gAIHtpa4015337@khavrinen.lcs.mit.edu> Message-ID: <20021119163919.K29511-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 18 Nov 2002, Garrett Wollman wrote: > < said: > > The CTL_P1003_1B_* constants seem to be in 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