Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2012 14:43:33 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Bill Yuan <bycn82@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: how to update the revision information
Message-ID:  <4FF44885.10408@FreeBSD.org>
In-Reply-To: <CAC%2BJH2wFXTUvx9FC8oE=q9eHYmqzpa6k-mbM0FhQyX13364M2A@mail.gmail.com>
References:  <CAC%2BJH2wFXTUvx9FC8oE=q9eHYmqzpa6k-mbM0FhQyX13364M2A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5E5BB85D51F178446EAEE0EB
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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,
>=20
> 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.

	Cheers,

	Matthew


[*] J. Random Blackhat could fake you into thinking the system was
patched and up to date when in fact it was still vulnerable to exploitati=
on.

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




--------------enig5E5BB85D51F178446EAEE0EB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/0SI0ACgkQ8Mjk52CukIy/mgCcDLe7jgTafcLcX6fIrkovL1Xg
lnkAmQEiYhLGhrqBMnU4M7QRG5F99uLE
=YqSR
-----END PGP SIGNATURE-----

--------------enig5E5BB85D51F178446EAEE0EB--



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