From owner-cvs-src@FreeBSD.ORG Thu Aug 7 23:13:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136571065675; Thu, 7 Aug 2008 23:13:52 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DB29C8FC0A; Thu, 7 Aug 2008 23:13:49 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <489B81AC.8090508@FreeBSD.org> Date: Fri, 08 Aug 2008 01:13:48 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Andrey Chernov , Kris Kennaway , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200808072136.m77LaO92026239@repoman.freebsd.org> <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> In-Reply-To: <20080807230532.GA42775@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/games/fortune/strfile strfile.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 23:13:52 -0000 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. Kris