Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5045284ybe; Tue, 17 Sep 2019 01:27:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxL5ELU9DdUmNttRLdVgQ+JeeQ+vkiDNRlyHKabPigN3PY0rA+5q5DXF9eE6YVgX7svd9IO X-Received: by 2002:a50:fb13:: with SMTP id d19mr3330518edq.63.1568708857387; Tue, 17 Sep 2019 01:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568708857; cv=none; d=google.com; s=arc-20160816; b=S5X42YvdzZDV4DRGM9SfR++P8RehkCdZn+pTqIwleIpY1s+u19g+jK42gpeKaD4RyR Ovn8Bsb6VCoqvNnXtmlgJX45C97hIGX/01jeHAnZnh8eQ6tQhZ8cAZBz0puBBa7ryFeE QWmrMbhOw6KQ2ZLkxwMbSVuVhr29cbk/hSITVx08sJEXCEtb7hhbhF/J6e+UfryYZai0 Fy4yWAn1b3jamt/6MNLxQjVhw1bLTvLUjE4dIDz8L/VPWxq/6UWvg/hx449fwmrNiFpX tZ+I7ujXp0rzRvM/VqiO/iLH0ALiW74ylXd2OCMwy2WKPPHSbzcMFoHT9ZAEsJ/K5s71 3DKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lT8XkUtBx2w2E6v7+dJIyb5eDtdCj9FGQxpWjTooN2w=; b=uJvtHcWDFON1pNeH25rF3zQPEOzKVrv0szk8Ck6IwDlpnQCbQ1p3yG99O9VjWEpQ4x RjmwH48ffR2f4mFN3KHpdqb+Ihi6CkIiFi0PkQ2JmGkdP6zTsabYTJxMFuWgFFHRXOmX aWTOFpTkhfhn4Dt/cVnobehJPhxYr6VXfDq8vn3Opo46cXHCWq62gK+iHKW1MVNIoCMn 3b+EDaVm4f9VkPCu0nxphYbbAfFFo22tzlX/VGTVjQ1OHpIlviuaMW6HWqhTS1XcfHIW dKRO51bFbeqS1Sj0nOSnOIlYCRZeoK1BKhE8ht8MHvHUW9NDbu34UVDWYfjNv3UC7+vP WFVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=X3PnxylO; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s27si682586ejb.356.2019.09.17.01.27.13; Tue, 17 Sep 2019 01:27:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=X3PnxylO; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388489AbfIQBNB (ORCPT + 99 others); Mon, 16 Sep 2019 21:13:01 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39088 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732800AbfIQBNB (ORCPT ); Mon, 16 Sep 2019 21:13:01 -0400 Received: by mail-lj1-f196.google.com with SMTP id s19so1710243lji.6 for ; Mon, 16 Sep 2019 18:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lT8XkUtBx2w2E6v7+dJIyb5eDtdCj9FGQxpWjTooN2w=; b=X3PnxylOAF4xYIhV73JftJsYPExC+6nWRgaCoIehOZ0lRHM8e0vtC4kIiCZ0RfabNQ 8bMWtZXCNM/jwB6Es3t2aKnvKb1glk5Zq0J4hLHBdUeNxhEvZaoOd3eWC3odXZrrnc7k FwH8vqjVTIT59p8Zc+gKYzRmiJqlQqh9ZX6P4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lT8XkUtBx2w2E6v7+dJIyb5eDtdCj9FGQxpWjTooN2w=; b=btfBmCVlgaQvaiTAidtGPmHQXToi2D82n1avucgSnyIta8f9X3jPiho5jUCL7BRuF9 4niLE2KOcn7EIcdWbVxxBCfbID4gAyPa3y6+LX950K0V4g1+wSqAC2Eg5iPwTXQO+6PR PpY3rqWcvnNXOtpM4/liYhi169zi5PLApaccHfMBYnl7T5jDQShBH6Mn1YLI80l5yeqJ vzxjnLytUclZaExPlOQ+jJaZxVtxd3tc5Nl67Lyynoz/wfoTvahWAq9NB35ayYYOaUlD E0a7/KFq9JT2FA1WU35sZxo0mSQmWo+PViGmZLO/rB3Cv6RIBrnuV8G537BnKaIef164 Y5nA== X-Gm-Message-State: APjAAAW/UhKeaEe/6dCeMrznHg2UFaMpSERmEdIN3eup3InVjAm+4iBs 6ibmyKzEfjZziAaafyRGVUcGwKWRQnA= X-Received: by 2002:a2e:8942:: with SMTP id b2mr383470ljk.38.1568682778643; Mon, 16 Sep 2019 18:12:58 -0700 (PDT) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id l3sm90656lfc.31.2019.09.16.18.12.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Sep 2019 18:12:58 -0700 (PDT) Received: by mail-lf1-f45.google.com with SMTP id x80so1460484lff.3 for ; Mon, 16 Sep 2019 18:12:58 -0700 (PDT) X-Received: by 2002:ac2:50cb:: with SMTP id h11mr535207lfm.170.1568682373612; Mon, 16 Sep 2019 18:06:13 -0700 (PDT) MIME-Version: 1.0 References: <20190916042952.GB23719@1wt.eu> <20190916061252.GA24002@1wt.eu> <20190916172117.GB15263@mit.edu> <20190916230217.vmgvsm6o2o4uq5j7@srcf.ucam.org> <20190916231103.bic65ab4ifv7vhio@srcf.ucam.org> <20190916232922.GA7880@darwi-home-pc> In-Reply-To: <20190916232922.GA7880@darwi-home-pc> From: Linus Torvalds Date: Mon, 16 Sep 2019 18:05:57 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.3-rc8 To: "Ahmed S. Darwish" Cc: Matthew Garrett , "Theodore Y. Ts'o" , Willy Tarreau , Vito Caputo , Lennart Poettering , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , "Alexander E. Patrakov" , zhangjs , linux-ext4@vger.kernel.org, lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Sep 16, 2019 at 4:29 PM Ahmed S. Darwish wrote: > > Linus, in all honesty, the other case is _not_ a hypothetical . Oh yes it is. You're confusing "use" with "breakage". The _use_ of getrandom(0) for key generation isn't hypothetical. But the _breakage_ from the suggested patch that makes it time out is. See the difference? The thing is, to break, you have to (a) do that key generation at boot time (b) do it on an idle machine that doesn't have entropy in order to basically reproduce the current boot-time hang situation with the broken gdm, except with an actual "generate key". Then you have to ignore the big warning too. Linus