From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH RFC v4 1/1] random: WARN on large getrandom() waits and introduce getrandom2() Date: Fri, 20 Sep 2019 21:17:47 +0100 Message-ID: <20190920201747.kmzx2kjdv2hbljsy@srcf.ucam.org> References: <20190918211503.GA1808@darwi-home-pc> <20190918211713.GA2225@darwi-home-pc> <20190920134609.GA2113@pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Torvalds Cc: Andy Lutomirski , "Ahmed S. Darwish" , Lennart Poettering , "Theodore Y. Ts'o" , "Eric W. Biederman" , "Alexander E. Patrakov" , Michael Kerrisk , Willy Tarreau , lkml , Ext4 Developers List , Linux API , linux-man List-Id: linux-api@vger.kernel.org On Fri, Sep 20, 2019 at 12:51:12PM -0700, Linus Torvalds wrote: > So we absolutely _will_ come up with some way 0 ends the wait. Whether > it's _just_ a timeout, or whether it's jitter-entropy or whatever, it > will happen. FWIW, Zircon uses the jitter entropy generator to seed the CRNG and documented their findings in https://fuchsia.dev/fuchsia-src/zircon/jitterentropy/config-basic . -- Matthew Garrett | mjg59@srcf.ucam.org