Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5045506ybe; Tue, 17 Sep 2019 01:27:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWBGwB0Sdt7rKf2ZGXroiJ8afRbmqqUQ9Y3ySbN07gC1VrKDHCqUdCRvh1sMyWyvCJ1+L6 X-Received: by 2002:a50:8ad1:: with SMTP id k17mr3348211edk.243.1568708874597; Tue, 17 Sep 2019 01:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568708874; cv=none; d=google.com; s=arc-20160816; b=VrKO/Cceq6SvC7j8AICc6Q2w+jVbyszAeyCw/PQk6zpkZNlQ+uUcE6hRznKku3pnIR 1q5VtBN0zKJE1YxEFi4b1jV+wbemwYxSjeKso84wsNGK7b90xZawEH9fAWMU0bOwOa2S 8IpiznGPZFfL4ID5xBADP1SqYNOIk51m7qRD7e48iejo1xi27KMNpN+QVwUtDbhhjO4k e0JYep9LgNmCoew3pZzAGrEs6NRL3Ea51HPrq9aJg7ZKy3k+zwaKmkg93m5o6d5Ev89P MAy1yl9l31qp1kjUBTwwm+oBiFEBQCJisjCdrbKMeh0kq2VqPKcXduUdlDqOSPWtCJ79 U0MA== 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=eFonvhfNYcxKepSfnQcuhKAjMEuQmhnrqu5ZWiTPe6o=; b=b0OkOfSjTnfnLOrzLo1OD3JrMxY9anzrtAduPZyBPbSNc1fcI+n1M105PVAEsg9csP 9Q4LBo/zwn1cK0FYbgp3Um3X9nTMYH+EK37o1uHbPVjG1jXwtfxs24IOL1OpSIVrSzX2 LcdzW3OrIXhhOIi9evnGTKuKMuWpGhazfpA5Zg+Q+mSfQzuR9xQV67TinyO2qknz+JzU LQQtk4lFfVBc7qc0TGN6fNAOz/Su72Tj9Y2s4qE3Y0BVEePDxoL+7nOqO0wDbMWH/pFR KMMAfutG4B+yV6fNuOY78jre2OT+eSsZLDMnuRJG+QgE4VRBgvfyRmjBD894AHsW/8v9 QkTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bmy2g+SI; 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 n19si858598edo.172.2019.09.17.01.27.30; Tue, 17 Sep 2019 01:27:54 -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=Bmy2g+SI; 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 S2391747AbfIQBmA (ORCPT + 99 others); Mon, 16 Sep 2019 21:42:00 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:38819 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728211AbfIQBl7 (ORCPT ); Mon, 16 Sep 2019 21:41:59 -0400 Received: by mail-lj1-f196.google.com with SMTP id y23so1765372ljn.5 for ; Mon, 16 Sep 2019 18:41:57 -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=eFonvhfNYcxKepSfnQcuhKAjMEuQmhnrqu5ZWiTPe6o=; b=Bmy2g+SI64cuFudCSab745GhMwBUH8vFBHoCEPyte/aVPJTeqvf0Ub3G6d17emIl2S cXEEoOWnhpdJi6yi8YT0lVGj2snzwX9DRJYCmT2Fi2PkFCGtXGxs2cGseskytXSyw5ue jAlwgncWpCtsxiLRT6WPIAxhjk0PtHEWVcWT4= 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=eFonvhfNYcxKepSfnQcuhKAjMEuQmhnrqu5ZWiTPe6o=; b=QbpbQeYOxcXp+oTp7dPCOD9UPROmVAVACyTLRa7UgnC5dcV7IcNNXHDWvJ+NAZl6Ji DbSEJ+bDrJYoY0BhqAu7qKEJafect8WwQtxDhrJuSkxpHPXfisTV1m9XQTgg9N8Wzea2 NCmlK52S515MApEiOj5GH3oKRPKLd/OxWsLEc1f0kfWtBI7PH4kY8PzcdtTo+CM4w/Jq mbYQYzNHbGWjEyPs82YO82dxZXQ+j6GN9XQfxPY1EeOgeufj2RArr6YZ2gF0yWZ9fHAx 5khyw7ezhkrjYAn4yCEL4G80M96tpt5jSbVeHRfsrXOiT9bQYDpQeJkGX5TrB/PRuPlX Bb1g== X-Gm-Message-State: APjAAAWS6IwLQF+/+xnzUeNoO29ednPVTPLHEfUjM8wtYzRwO2N0xFfE 8TBfAL4nkoYWbrBQLeIm8z2WhYUREfE= X-Received: by 2002:a2e:7a16:: with SMTP id v22mr390573ljc.61.1568684516946; Mon, 16 Sep 2019 18:41:56 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id f21sm120189lfm.90.2019.09.16.18.41.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Sep 2019 18:41:53 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id r2so1462990lfn.8 for ; Mon, 16 Sep 2019 18:41:52 -0700 (PDT) X-Received: by 2002:ac2:5a4c:: with SMTP id r12mr577900lfn.52.1568684512695; Mon, 16 Sep 2019 18:41:52 -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: From: Linus Torvalds Date: Mon, 16 Sep 2019 18:41:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.3-rc8 To: Matthew Garrett Cc: "Ahmed S. Darwish" , "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 6:24 PM Matthew Garrett wrote: > > Exactly the scenario where you want getrandom() to block, yes. It *would* block. Just not forever. And btw, the whole "generate key at boot when nothing else is going on" is already broken, so presumably nobody actually does it. See why I'm saying "hypothetical"? You're doing it again. > >Then you have to ignore the big warning too. > > The big warning that's only printed in dmesg? Well, the patch actually made getrandom() return en error too, but you seem more interested in the hypotheticals than in arguing actualities. Linus