From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5656C33C9E for ; Tue, 7 Jan 2020 21:20:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A70FC208C4 for ; Tue, 7 Jan 2020 21:20:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729025AbgAGVEN (ORCPT ); Tue, 7 Jan 2020 16:04:13 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:36392 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728799AbgAGVEL (ORCPT ); Tue, 7 Jan 2020 16:04:11 -0500 Received: from callcc.thunk.org (guestnat-104-133-0-111.corp.google.com [104.133.0.111] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 007L2vFj024569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Jan 2020 16:02:58 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 67AA74207DF; Tue, 7 Jan 2020 16:02:57 -0500 (EST) Date: Tue, 7 Jan 2020 16:02:57 -0500 From: "Theodore Y. Ts'o" To: Andy Lutomirski Cc: LKML , Linux API , Kees Cook , "Jason A. Donenfeld" , "Ahmed S. Darwish" , Lennart Poettering , "Eric W. Biederman" , "Alexander E. Patrakov" , Michael Kerrisk , Willy Tarreau , Matthew Garrett , Ext4 Developers List , linux-man , Stephan Mueller Subject: Re: [PATCH v3 5/8] random: Make /dev/random be almost like /dev/urandom Message-ID: <20200107210257.GJ3619@mit.edu> References: <5e6ac8831c6cf2e56a7a4b39616d1732b2bdd06c.1577088521.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e6ac8831c6cf2e56a7a4b39616d1732b2bdd06c.1577088521.git.luto@kernel.org> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Dec 23, 2019 at 12:20:48AM -0800, Andy Lutomirski wrote: > This patch changes the read semantics of /dev/random to be the same > as /dev/urandom except that reads will block until the CRNG is > ready. > > None of the cleanups that this enables have been done yet. As a > result, this gives a warning about an unused function. > > Signed-off-by: Andy Lutomirski Applied, thanks. - Ted