Received: by mail.netbsd.org (Postfix, from userid 605) id 57DC514A5B7; Thu, 8 Mar 2012 17:23:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C52E614A5B3 for ; Thu, 8 Mar 2012 17:23:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gtEwk0VT3Mxo for ; Thu, 8 Mar 2012 17:23:36 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 1A53A14A59A for ; Thu, 8 Mar 2012 17:23:36 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 3E573175DD; Thu, 8 Mar 2012 17:23:36 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 8 Mar 2012 17:23:36 +0000 From: "Jeff Rizzo" Subject: CVS commit: [netbsd-6] src/lib/libc/gen To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120308172336.3E573175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jeff Rizzo" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riz Date: Thu Mar 8 17:23:36 UTC 2012 Modified Files: src/lib/libc/gen [netbsd-6]: arc4random.c Log Message: Pull up following revision(s) (requested by tls in ticket #92): lib/libc/gen/arc4random.c: revision 1.11 lib/libc/gen/arc4random.c: revision 1.12 Make arc4random far less greedy for entropy. Make arc4random actually implement arc4 when used by threaded programs. Fix bug in previous: don't reinitialize on every call! Fix arc4random_buf so it actually ever initializes -- a security problem with revisions 1.9 and 1.10. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.6.1 src/lib/libc/gen/arc4random.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.