Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2348477rdb; Thu, 21 Sep 2023 16:29:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLBGD/5leQiO8PrOHNthEwByOC9OFyLlCpOZyCg6gl6VksqFUn9iWbA7+/q0fVqXn+hIR8 X-Received: by 2002:a05:6a21:7895:b0:123:149b:a34f with SMTP id bf21-20020a056a21789500b00123149ba34fmr7134640pzc.1.1695338975969; Thu, 21 Sep 2023 16:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695338975; cv=none; d=google.com; s=arc-20160816; b=dt0MvWayfaK+TQdTxdYgNaHFzFpoGXKvTwjjVA2/N28QSuWGV7EnLO8gtazC8+VdzQ tf9+7WFV78WRbi9pyTBy951Lr3sZ00SVSG5iM4hwySA0UVqiwrDUlApP2t66ted5MUkf jWopcwagHcyCXDRw8H1A2VpxV01QgpY3L/rNUku+pbpT0F9tlKhcwO85Y2KMzAI2ut/p Ip8qEla4mpMcoWznAvqywIxT7hoN3Rc369wWYhroAy5kH4KlK17mG8aquVGJrYG4tKgU dwaf39jwkuTXu+rc68n7m9Np8fdswxdiSTZTqDXwM9JqQ06je4RMmIK4yFRfYcGlZtB/ FAKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=iAknZqCbxS/TRm8hrVv9FjufAi5GuaVGw2+e2Tiy5no=; fh=jmCymWF5m3UyAVCH4ovdDqplBsDKedxePshOJZsnk64=; b=r6GD2z8y3FQATlGG/3LUAC4k/lqYl8ypJ7XtShwZkpASSmie5diIFpkNN6bRLDP9zM X9Kp27KZgJUQnJ5TIQusH26IVinF3P7NX5IXwGvov5j/3Nbwd1kKN0g+4cyn2YjA+Jjy Rw1a/6iJriwx0Tn/6z1yzl6pX48m7AocXFt07BuqNU+YKXiufAA7mh67c1vkyzn6RY1D xBZRKWu0ghYdpsabbNpbht9iqzvlONeuSM0mbYq4iyqu2ijPvXE3gQuAWJOY5tihEGnq 47bkYoZci8D7xPZCbh+EONgLfAEW8M0GH5S4Aph4XyHgLEKGOYrrfZY0CPduXCcN9ACy UR6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id q22-20020a056a00151600b00690f49d9e44si2546553pfu.400.2023.09.21.16.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 16:29:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 096D680A801D; Thu, 21 Sep 2023 15:01:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbjIUWBM (ORCPT + 99 others); Thu, 21 Sep 2023 18:01:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjIUWA4 (ORCPT ); Thu, 21 Sep 2023 18:00:56 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE4A2691 for ; Thu, 21 Sep 2023 14:57:45 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-144-9yHIHy7UMl2pr0pfl-TvIA-1; Thu, 21 Sep 2023 22:57:27 +0100 X-MC-Unique: 9yHIHy7UMl2pr0pfl-TvIA-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 21 Sep 2023 22:57:26 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 21 Sep 2023 22:57:26 +0100 From: David Laight To: 'Linus Torvalds' , Eric Biggers CC: "Jason A. Donenfeld" , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , Theodore Ts'o , "Dominik Brodowski" , Jann Horn Subject: RE: [RFC] Should writes to /dev/urandom immediately affect reads? Thread-Topic: [RFC] Should writes to /dev/urandom immediately affect reads? Thread-Index: AQHZ6/MdHsl+KD+hzUOipRl6ZArMFbAkCZmAgAADCACAAArEAIAAAxeAgAACfICAAbU2kA== Date: Thu, 21 Sep 2023 21:57:26 +0000 Message-ID: <4c5a6cd876d7499fa382ba74cd23cc08@AcuMS.aculab.com> References: <20230920060615.GA2739@sol.localdomain> <20230920193203.GA914@sol.localdomain> <20230920202126.GC914@sol.localdomain> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-0.8 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 15:01:11 -0700 (PDT) RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMjAgU2VwdGVtYmVyIDIwMjMgMjE6NDENCj4g DQo+IE9uIFdlZCwgMjAgU2VwdCAyMDIzIGF0IDEzOjMyLCBMaW51cyBUb3J2YWxkcw0KPiA8dG9y dmFsZHNAbGludXgtZm91bmRhdGlvbi5vcmc+IHdyb3RlOg0KPiA+DQo+ID4gSXQgd2FzIHdoeSBJ IGFsc28gYXNrZWQgYWJvdXQgZW50cm9weS4gQmVjYXVzZSAqaWYqIHlvdSBhcmd1ZSB0aGF0IHRo ZQ0KPiA+IHVzZXItc3BhY2Ugd3JpdGUgY29udGFpbnMgZW50cm9weSwgdGhlbiB0aGF0IHdvdWxk IGJlIGEgcmVhc29uLg0KPiANCj4gVG8gY2xhcmlmeSAtIHRoZSBqaXR0ZXIgZW50cm9weSBxdWVz dGlvbiB3YXMgcmVsYXRlZCB0byB0aGF0IHNhbWUNCj4gYmFzaWMgaXNzdWU6IGlmIHRoaXMgd2Fz IG1lYW50IHRvIGJlIGEgd2F5IHRvIG1pdGlnYXRlIHRoZSBsYWNrIG9mDQo+IGppdHRlciBlbnRy b3B5IG9uIHNvbWUgcGxhdGZvcm0geW91IGNhcmUgYWJvdXQsIHRoYXQgd291bGQgYWdhaW4NCj4g cG9zc2libHkgYmUgYSByZWFzb24gdG8gY2FyZS4NCj4gDQo+IENvbnNpZGVyaW5nI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