Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Aug 2008 00:21:50 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        kris@FreeBSD.org
Cc:        ache@nagual.pp.ru, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/games/fortune/strfile strfile.c
Message-ID:  <20080808.002150.-1037138460.imp@bsdimp.com>
In-Reply-To: <489B81AC.8090508@FreeBSD.org>
References:  <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <489B81AC.8090508@FreeBSD.org>
            Kris Kennaway <kris@FreeBSD.org> writes:
: Andrey Chernov wrote:
: > On Fri, Aug 08, 2008 at 12:38:55AM +0200, Kris Kennaway wrote:
: >> Is that the right solution?  If someone is bootstrapping from an old 
: >> kernel (e.g. 7.0) then installworld will install a strfile without your 
: >> change.  
: > 
: > No, this is bootstrap tool, so it is rebuilded twice, once without change 
: > and installed immediately in the temp location 'legacy' and next time with 
: > (installed on 'installworld' stage).
:  >
: >> If someone is bootstrapping from a new kernel (but before they 
: >> built the new world) then it will fail to link still.
: > 
: > How new kernel may affect userland here? arc4random_uniform() is not 
: > sysctl, just function.
: > 
: > In case I mess something, please point me to.
: 
: I might have been confused about where __FreeBSD_version comes from.  I 
: guess it's OK since the first will come from the host copy of 
: osreldate.h and the second from the new version.

This does beg the question why we need cryptographically secure
randomness for fortune, however...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080808.002150.-1037138460.imp>