cvs commit: src/games/fortune/strfile strfile.c

M. Warner Losh imp at bsdimp.com
Fri Aug 8 06:22:52 UTC 2008


In message: <489B81AC.8090508 at FreeBSD.org>
            Kris Kennaway <kris at 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


More information about the cvs-src mailing list