From owner-svn-src-all@freebsd.org Tue May 31 14:25:51 2016 Return-Path: Delivered-To: svn-src-all@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 4CB86B54F2F for ; Tue, 31 May 2016 14:25:51 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) (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 CE9CF1717 for ; Tue, 31 May 2016 14:25:50 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f65.google.com with SMTP id 65so17309305lfq.1 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=ZyDL4ZI0vCTUtApkRajqo9wZFt2bAwGzZ7UjV5wKe2oMzXY5MrDqlNJTBJjHK6QLTZ lVIBMAbuhOXDBhSqBh3xgd0u60AGOwysy2QmfKXa20kulH7Vz1xdlzE9XANRdwMhrp0V dQ+vO1UxLUgAd4oHH7Sjk4jHIJWUCRDSySZYE0QbQ9KBxN5F8HUp/fZnYxjlrR31LgEe 2Giw68tcphT9QzoXSyAIxgj0nwFF13YmUh6mUsp48b2CCw7gBOui/OfInDjo/EChkSbN BiZ/zMafroxhh7o/0SMgziiDz2s4frE3MYcH6Gs5IVYh7MPgyIgaAxoE7kVIzbCF7J13 BNPg== X-Gm-Message-State: ALyK8tKrR3P3eyF9k55F2uVMb6EL+0GB5xnT6xA2bQiL3r1Rurt2B3jZIrLW53wkAvUwYA== 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-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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.