From owner-cvs-src@FreeBSD.ORG Mon Jun 9 02:53:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BC3137B401; Mon, 9 Jun 2003 02:53:25 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C34A43F3F; Mon, 9 Jun 2003 02:53:24 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h599rMEY017498; Mon, 9 Jun 2003 11:53:22 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Juli Mallett From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 09 Jun 2003 02:38:20 PDT." <200306090938.h599cKFZ059077@repoman.freebsd.org> Date: Mon, 09 Jun 2003 11:53:22 +0200 Message-ID: <17497.1055152402@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf newvers.sh src/sys/sys sysctl.h src/usr.bin/uname uname.1 uname.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 09:53:26 -0000 In message <200306090938.h599cKFZ059077@repoman.freebsd.org>, Juli Mallett writ es: >jmallett 2003/06/09 02:38:20 PDT > > FreeBSD src repository > > Modified files: > sys/conf newvers.sh > sys/sys sysctl.h > usr.bin/uname uname.1 uname.c > Log: > Make kernel identification (`ident' in the config(8) driver) available to > userland, and the kernel. In the kernel by way of the 'ident[]' variable > akin to all the other stuff generated by newvers.sh. In userland it is > available to sysctl consumers via KERN_IDENT or 'kern.ident'. It is exported > by uname(1) by the -i flag. Please remove the KERN_IDENT definition and use OID_AUTO. We should not add more hardcoded OID's without a very good reason, and this isn't one. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.