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

Juli Mallett jmallett at FreeBSD.org
Mon Jun 9 03:03:36 PDT 2003


* Poul-Henning Kamp <phk at phk.freebsd.dk> [ Date: 2003-06-09 ]
	[ w.r.t. Re: cvs commit: src/sys/conf newvers.sh src/sys/sys sysctl.h src/usr.bin/uname uname.1 uname.c ]
> 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.

I was doing it that way for consistency with other things from newvers.
Which source file would you like the definition to go into, so that I
can use OID_AUTO?

Thanx,
juli.
-- 
juli mallett. email: jmallett at freebsd.org; efnet: juli;


More information about the cvs-src mailing list