Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp111540pxb; Wed, 23 Mar 2022 14:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKCmGJ8EXqWDzgs+337h42Gk0XiNEAcfd44DxuZALDeR2rFm642QGXae0N0AnXk7amK6BP X-Received: by 2002:a17:903:192:b0:151:8df9:6cdb with SMTP id z18-20020a170903019200b001518df96cdbmr2128458plg.20.1648069954678; Wed, 23 Mar 2022 14:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648069954; cv=none; d=google.com; s=arc-20160816; b=YFUvlfkJyMWNpvMemwKA1y7yL1/jTVy+GCeCdVJe93oR/t44Fv/zFrD3XGEg6andaz 6dfZS1O8XG9Bgzjqzb6v67aJnxJl4UkrcJsk23AfulfcGvvowurhZY++W+WsNQPZwqkV XcpCTbv4AzCeoDCu22kwXPBpXVwQSv3e4WVzUcNNvwQPCUMfCn7Xeg4edAPQPjU7xbW9 6kQvxke09EkRS41YrDe1byyWn8vpZHGLgEbdLekokl2aVEVrUf6Ux4rOrO9tpTi/uzlX hi7EKmgPsOqAhwnJl+Uactb2Rla6JhgLvo/slNqDV+ywkf3DZWMcAfkyBmQJcubj+J3R JsVw== 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=lOc0vJFLK6jDMbFmoi4Hp9KYBnsNOH58+TFP9D9FFbs=; b=cZaxdy1EEWx2z8bLfklBvHLJaXDJNWWGAAGmtyPx9ZOGUnxVvgVwKUb2zCncn8XLk+ 4LdWnMnbjIEtzQedtZd978FY5IBftQzK8AQRuCDcKJfBpCvfKt6Afu8O///AP9CsZbX0 4yF4ZmrfbQjllNciGim+lPy58phN/Kyw9jAqsQAKZV2/RwZMLdsnSUoeCMC/u1hd0QMk tmm/EOxLCkMj/4MMKmuirDkq08VHAOf1ByK/G8MwJkPU83sx2jWSgBbTuElVzjVhVCMA WstkkKVIs9Jht8VzPQlgLYzFrfXjc0rxl+Je4p5rymaCmoTiMeWTpTYrflK0Y3IJ5Hd0 loGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a635942000000b003816043efe6si18345464pgm.475.2022.03.23.14.12.09; Wed, 23 Mar 2022 14:12:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235967AbiCWLr2 (ORCPT + 99 others); Wed, 23 Mar 2022 07:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232619AbiCWLr2 (ORCPT ); Wed, 23 Mar 2022 07:47:28 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E27C7939A for ; Wed, 23 Mar 2022 04:45:58 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-251-3EBf9A9TPvaSMLqZWsEjrw-1; Wed, 23 Mar 2022 11:45:55 +0000 X-MC-Unique: 3EBf9A9TPvaSMLqZWsEjrw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 23 Mar 2022 11:45:55 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Wed, 23 Mar 2022 11:45:55 +0000 From: David Laight To: "'Jason A. Donenfeld'" CC: "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , Linus Torvalds , Guenter Roeck , "Dominik Brodowski" , Theodore Ts'o , "Jann Horn" Subject: RE: [PATCH] random: allow writes to /dev/urandom to influence fast init Thread-Topic: [PATCH] random: allow writes to /dev/urandom to influence fast init Thread-Index: AQHYPiElHr6Egf4vbEGW28icqj7YNKzMOPHggAAMXYCAAJACUA== Date: Wed, 23 Mar 2022 11:45:55 +0000 Message-ID: <0f9b31b346504d28a908d16884df5e02@AcuMS.aculab.com> References: <20220322191436.110963-1-Jason@zx2c4.com> <6716f3ffefae4ed8b5fd332bfcca8a9a@AcuMS.aculab.com> 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com 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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org RnJvbTogSmFzb24gQS4gRG9uZW5mZWxkDQo+IFNlbnQ6IDIzIE1hcmNoIDIwMjIgMDI6NTENCj4g DQo+IE9uIFR1ZSwgTWFyIDIyLCAyMDIyIGF0IDg6MTYgUE0gRGF2aWQgTGFpZ2h0IDxEYXZpZC5M YWlnaHRAYWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4gTmV2ZXIgbWluZCBzY3JpcHRzIHRoYXQgdHJ5 IHRvIGltbWVkaWF0ZWx5IHNhdmUgYSBuZXcgc2VlZGZpbGUgWzFdLg0KPiA+DQo+ID4gV2hhdCBh Ym91dCBjb2RlIHJ1biBieSBsYXRlciBzdGFydHVwIHNjcmlwdHMgdGhhdCB3YW50cyByYW5kb20g bnVtYmVycy4NCj4gPiBUaGV5IHJlYWxseSBkbyB3YW50IHRoZSBzZWVkZmlsZSBkYXRhIHRvIGJl IHVzZWQuDQo+ID4gSWYgaXQgaXNuJ3QgdXNlZCB0aGVuIHRoZXkgYXJlIGxpa2VseSB0byBnZXQg dmVyeSB3ZWFrIHJhbmRvbSBudW1iZXJzLg0KPiA+DQo+ID4gWW91IGNhbid0IHJlYWxseSBleHBl Y3Qgc3RhcnR1cCBzY3JpcHRzIHRvIGJlIGlzc3VpbmcgaW9jdGwgcmVxdWVzdHMuDQo+IA0KPiBU byBiZSBjbGVhciwgdGhpcyAiZXhwZWN0W2F0aW9uXSIgb2YgeW91cnMgaXMgdmVyeSBtdWNoIGEg bmV3DQo+IGV4cGVjdGF0aW9uLiBDcmVkaXRpbmcgYml0cyBoYXMgcmVxdWlyZWQgYW4gaW9jdGwg c2luY2UgZm9yZXZlci4gVGhvc2UNCj4gc2hlbGwgc2NyaXB0c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