From owner-svn-src-head@freebsd.org Tue May 31 14:25:51 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C112B54F2E for ; Tue, 31 May 2016 14:25:51 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE9351715 for ; Tue, 31 May 2016 14:25:50 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f67.google.com with SMTP id h68so10226696lfh.3 for ; Tue, 31 May 2016 07:25:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=f2L4cbsIbE9S9KVWOSszu+Y9Xp0WMEQLqqf3JXmzMdM=; b=dZw85+skNscQoKkat2ytEZw0w2Qe9NDfd44TxPunw+V9KxBdPmKhn7WIYfkl8eyXN6 J8M0ebjBJ/zVcIHxVUcEP7p17o6R0r8Y1luVY7JV4bqnmVu0HCuImtcthkKQgzfQqgrv K56TTLVeN/2CCQ6L3DMYowCSrPxL9dVSfPvhd0RE849xEmCcxzEzOYvHCpYsrGb8Tymi TI2U0tL7PMNiX78A6tnBpb5N/nFFr1N0/lln+uSlLMDxtDg9jWxSWgopy/fz6vSUpSxu CFmVJ5frsTwBi+LvZbLSkHIAY+LLkUY7SxRfISaveLZu1dCHZZulO8ump5D+6/KG8LpS C+mQ== X-Gm-Message-State: ALyK8tJuRKMtFDxjwNpcEDpcCdaCiVe33itzZkepSB9axBJkteAOgWVidOwYsR4TDeBIgg== X-Received: by 10.25.161.132 with SMTP id k126mr4156074lfe.101.1464704748383; Tue, 31 May 2016 07:25:48 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id d202sm1868729lfe.36.2016.05.31.07.25.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 07:25:47 -0700 (PDT) Subject: Re: svn commit: r300956 - head/lib/libc/stdlib To: Bruce Evans References: <201605291357.u4TDv6No071840@repo.freebsd.org> <20160530110541.I924@besplex.bde.org> <20160531155327.I1534@besplex.bde.org> <20160531185907.Y2047@besplex.bde.org> <20160531224808.F3933@besplex.bde.org> Cc: pfg@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Andrey Chernov Message-ID: <4f2f6e12-a50e-5463-75a4-6bb8d91350ae@freebsd.org> Date: Tue, 31 May 2016 17:25:46 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160531224808.F3933@besplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 14:25:51 -0000 On 31.05.2016 17:17, Bruce Evans wrote: > Our rand should use just 1, and it is dangerous to change RAND_MAX again, > but can we even change the sequences? Something might depend on > reproducing the old sequences. This question already arises many times. The sequence must be reproducible during program runtime only, it is impossible to change implementation at all otherwise. If someone needs something always reproducible it needs to implement their own PRNG.