Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1627585rdb; Wed, 20 Sep 2023 15:00:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKaLEBlXMYqFEYZlJKv4YSqn4eh3nmRXFOT2DCyTgPN2SZtNGIw1P+GmZ45umHxTTH6Du9 X-Received: by 2002:a05:6a20:244f:b0:13d:6c5a:1887 with SMTP id t15-20020a056a20244f00b0013d6c5a1887mr3973905pzc.20.1695247241571; Wed, 20 Sep 2023 15:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695247241; cv=none; d=google.com; s=arc-20160816; b=s8ja4cmyocMeNCiPq4YP6DGMSywKjM63uhWCTm/i9XIN+C5wjZ74VFzblYnQKRfKQm olIxmyloFticdVwe1BL5V67+qXq6nVMAQ+oqJzXNmIIaWcDOY7SMym0PSzxkOH+B0+zT McmtNgmWXBabWNugOaxDekjuIG8KSPYUuEx1ipW332C/167pzYuHSrWa/kmAAVz58TOu U6Psmj4nzliq1+KXxXWHvRkJr8wFJRqicoPCg1opPr4Tap8CGIpYezTn6sljVbT4morz 24ZXZAj5CL5RqFG9qxCOiIUj2ixPsRuU2rgoY/YNzdsjmzOcyEHyTwC4TY/msKtXeagi uBhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mn4MY7BtYrdUSVLDctKd++v/twQTrdcS02f+zA6JnXU=; fh=OSGXJApCfllWQ/jTu3h/6+12jDCWoCB76Se+BlSUbnU=; b=T7yzdVyyabd9WxP7WrBKtEK6/t26A2dGs0CAIfBOwaZYod4Mnm/Hp9svb78w0Ld1BL guciLvkCPoy3MO16tEbPLMLo7oOE/4U0KVCr+rdLANfln0/YkpMEw/NazjqdOlX3GJq2 yWgLAfDk8tufeM0QYsRC7mhsaD4fE1vDmzf9gxtijY7bgiBOxOzD9IDcWBW5gEb8GsDK f8rWkn05ftzmzV5G8TWnHgS/aIi66O23VDWro9MOuwhbFdkQaWGV2366VTnwsyH3+FvD OH+MnTtmlSupaa8VfxtB9m6gvzbZg9d2bYmV3BCf5ujer27fzGKyAaBbVg5BkoQx549/ s9Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=N0TyW2m5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00577549e67b9si4168764pgk.589.2023.09.20.15.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 15:00:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=N0TyW2m5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C603882B9FAF; Wed, 20 Sep 2023 13:41:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbjITUlt (ORCPT + 99 others); Wed, 20 Sep 2023 16:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjITUls (ORCPT ); Wed, 20 Sep 2023 16:41:48 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D48C2 for ; Wed, 20 Sep 2023 13:41:42 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5041bb9ce51so482726e87.1 for ; Wed, 20 Sep 2023 13:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1695242501; x=1695847301; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mn4MY7BtYrdUSVLDctKd++v/twQTrdcS02f+zA6JnXU=; b=N0TyW2m5FkG67Q8ZN/SkoEjP+AFtKxNSVMtCWC3GEFfCqbDcfRk18IE42xbzvxIcC4 lvatrxKSqwJ//fhW6I2D6+FwAHYVE7qh/9unzuzFS4WyXiCsQ99FPkdElEdo2iVXYX6R bBjSs5R5+0maogRvO+vFdaKWqr2Qa0JjGk4UQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695242501; x=1695847301; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mn4MY7BtYrdUSVLDctKd++v/twQTrdcS02f+zA6JnXU=; b=isqMzJjEb0v9RbudRlCPGHdZL97biTMGcFop6frI5xm4KbpB+F9vTVCTXdMB4uH517 MXslLhA7F9DQGAqeClb0qMYN1DxkA1v04ubs+EBezBKN+IYGd/MC+WnyW3iQxUROx4K7 9Kfz8tw+7UPZRHj5sNtddTx4KSxX6kyo6gFrpDF0ThzDpIHNydrWLXNNBRt24xwDsdet UGE4PS5psm6IHqoNLhHdaSF38mGx13RhHEOldsrPDtV4IvhD5VM9Vt/9Rrw5Yw65GVDt LBZzwFkKhZPj3Q7aDPF2P1Ix6D8u3Vw5ZoUnmh0LLR+wpnUxUSUHmDAqsTMaQ35YUQ0B l4ZA== X-Gm-Message-State: AOJu0YyF1IqyQUa58hVKe+3EjfjJaOVBg0lBefZf1ATOGui6I4Hha8Gg xizoyXpeq8fzYIcACsfefFo9WO+pHp5hoS1V2YOmcRon X-Received: by 2002:a05:6512:475:b0:4fe:8c4:44fb with SMTP id x21-20020a056512047500b004fe08c444fbmr3252979lfd.38.1695242500753; Wed, 20 Sep 2023 13:41:40 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id a19-20020a056512201300b005030b40aa56sm1770330lfb.173.2023.09.20.13.41.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 13:41:40 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5041bb9ce51so482699e87.1 for ; Wed, 20 Sep 2023 13:41:40 -0700 (PDT) X-Received: by 2002:a19:2d04:0:b0:503:3675:9ba with SMTP id k4-20020a192d04000000b00503367509bamr2690524lfj.26.1695242499688; Wed, 20 Sep 2023 13:41:39 -0700 (PDT) MIME-Version: 1.0 References: <20230920060615.GA2739@sol.localdomain> <20230920193203.GA914@sol.localdomain> <20230920202126.GC914@sol.localdomain> In-Reply-To: From: Linus Torvalds Date: Wed, 20 Sep 2023 13:41:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC] Should writes to /dev/urandom immediately affect reads? To: Eric Biggers Cc: "Jason A. Donenfeld" , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, "Theodore Ts'o" , Dominik Brodowski , Jann Horn Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:41:46 -0700 (PDT) On Wed, 20 Sept 2023 at 13:32, Linus Torvalds wrote: > > It was why I also asked about entropy. Because *if* you argue that the > user-space write contains entropy, then that would be a reason. To clarify - the jitter entropy question was related to that same basic issue: if this was meant to be a way to mitigate the lack of jitter entropy on some platform you care about, that would again possibly be a reason to care. Considering that we apparently haven't cared for the last 7 years, I'm still a bit surprised, but whatever. What I *don't* want is just more voodoo discussions about /dev/*random behavior that doesn't have a technical reason for it. Linus