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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 551CDC4CECD for ; Tue, 17 Sep 2019 12:47:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31957206C2 for ; Tue, 17 Sep 2019 12:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbfIQMrm (ORCPT ); Tue, 17 Sep 2019 08:47:42 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:46921 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728177AbfIQMrm (ORCPT ); Tue, 17 Sep 2019 08:47:42 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id x8HClFEW027646; Tue, 17 Sep 2019 14:47:15 +0200 Date: Tue, 17 Sep 2019 14:47:15 +0200 From: Willy Tarreau To: "Ahmed S. Darwish" Cc: "Theodore Y. Ts'o" , Martin Steigerwald , Matthew Garrett , Linus Torvalds , Vito Caputo , Lennart Poettering , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , "Alexander E. Patrakov" , zhangjs , linux-ext4@vger.kernel.org, lkml Subject: Re: Linux 5.3-rc8 Message-ID: <20190917124715.GA27634@1wt.eu> References: <20190917052438.GA26923@1wt.eu> <2508489.jOnZlRuxVn@merkaba> <20190917121156.GC6762@mit.edu> <20190917123015.sirlkvy335crozmj@debian-stretch-darwi.lab.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917123015.sirlkvy335crozmj@debian-stretch-darwi.lab.linutronix.de> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 17, 2019 at 12:30:15PM +0000, Ahmed S. Darwish wrote: > Sounds good? Sounds good to me except that I'd like to have the option to get poor randoms. getrandom() is used when /dev/urandom is not accessible or painful to use. Until we provide applications with a solution to this fairly common need, the problem will continue to regularly pop up, in a different way ("my application randomly crashes at boot"). Let's get GRND_INSECURE in addition to your change and I think all needs will be properly covered. Thanks, Willy