Re: getting the running patch level
Manolis Kiagias <sonic2000gr@gmail.com> writes:
> One could also set the environment variable UNAME_r to the correct
> value (either in system wide e.g. /etc/profile or to a specific user
> dot files).
If your goal is to have uname(1) return the correct value, yes, except
it won't always work. For instance, sudo(1) (and probably also su(1),
but I never use it) will strip it from the environment and will *not*
run /etc/profile before the requested command.
> Or, since the correct value is always in newvers.sh, if src is present
> in the system a periodic script could update it automatically.
We can't assume that src is present.
> The manual updating will cause more confusion in the long run -
> people tend to forget these things...
Nobody suggested manually updating anything.
DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 16 之 28 篇):