cvs commit: src/sys/conf newvers.sh src/sys/sys sysctl.h src/usr.bin/uname uname.1 uname.c

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 9 02:53:26 PDT 2003


In message <200306090938.h599cKFZ059077 at 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 at 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.


More information about the cvs-src mailing list