From owner-cvs-all@FreeBSD.ORG Fri Aug 8 06:22:52 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5203A106566C; Fri, 8 Aug 2008 06:22:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 11D828FC08; Fri, 8 Aug 2008 06:22:51 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m786LU3e033673; Fri, 8 Aug 2008 00:21:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 08 Aug 2008 00:21:50 -0600 (MDT) Message-Id: <20080808.002150.-1037138460.imp@bsdimp.com> To: kris@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <489B81AC.8090508@FreeBSD.org> References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 06:22:52 -0000 In message: <489B81AC.8090508@FreeBSD.org> Kris Kennaway 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