Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 11:53:22 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Juli Mallett <jmallett@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 
Message-ID:  <17497.1055152402@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 09 Jun 2003 02:38:20 PDT." <200306090938.h599cKFZ059077@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17497.1055152402>