how to update the revision information
matthew at FreeBSD.org
Wed Jul 4 13:43:53 UTC 2012
On 04/07/2012 12:13, Bill Yuan wrote:
> The blow information can be found when we boot up the system, also can use
> command "uname -v"
Unfortunately the mailing list software has stripped your attachment.
For this sort of thing, its good to put your image up on a pastebin site
and include the link in your e-mail.
> my question is how can I change this,
> and I cannot rebuild it ,because on my freebsd, I dont have src anymore .
Well, the info that uname(1) prints out is generated from the source
code at compile time. Recompiling the kernel, or updating the kernel
via eg. freebsd-update(8) are the only ways to change it.
If you're asking about the perennial "I just security-patched my system
with freebsd-update, but uname still shows the old patch-level" thing,
then yeah. Unless freebsd-update supplies you with a whole new kernel
image, which only happens when a security bug involves the kernel, then
the uname output will not be changed. It's a flaw, but any solutions
involving being able to tweak uname settings without changing kernels
open up a whole can of security worms[*] which are, on the whole, worse
than living with some mildly outdated data.
[*] J. Random Blackhat could fake you into thinking the system was
patched and up to date when in fact it was still vulnerable to exploitation.
Dr Matthew J Seaman MA, D.Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120704/51d07e53/signature.pgp
More information about the freebsd-questions