tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More detailed build infomation in kernels

   Date: Wed, 23 Jul 2014 11:31:14 +0200
   From: Alan Barrett <>

   The multi-line BUILDINFO strings are truncated and folded to a 
   single line by uname(3), which is unhelpful, so I am inclined to 
   store them in a new kernel variable, exposed via a new sysctl 
   node, instead of appending to the existing kernel version 
   variable.  Then the new information would not be exposed by 
   uname(3) or uname(1).


Sounds useful to me.

Perhaps you could take the first line of BUILDINFO for uname, and
expose the rest via sysctl kern.buildinfo?

Home | Main Index | Thread Index | Old Index