Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1357868pxb; Thu, 24 Mar 2022 18:39:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1+1w/+gnUQQdMclZGGfORCE8dcQchGpg6b1pneMEAJxfxrOM+pZBZpw2xLmgCFuFnX+Me X-Received: by 2002:a63:d64b:0:b0:382:6aff:3e43 with SMTP id d11-20020a63d64b000000b003826aff3e43mr6064229pgj.438.1648172392566; Thu, 24 Mar 2022 18:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648172392; cv=none; d=google.com; s=arc-20160816; b=g08gn4ATS4QAiVJYHU+YPBQqIXQc2xvavasSiVciXfi7pBYMqt0b7bPJm1jcBgkomJ k/pijMi0cKVPHrYWVYt4+ALl5sQ91J1Yvjaj9MFYbnvh/NmP0wGllPRVHYDIaaNbB9xI L3sbMkrYqQImkO96ZIFTBbh/gSKLydc2FnqWQR48dFskC8oWJ0BEOM78+1bmQxqMoDWl fNGstmX82E7hirytBcru3Gxd7I90Xc0V2jWzncJTOCXmcO3vF2XUQuaRQbXG+wrqx2bb N55AFFRoh48thgl+8+tgfK0ucI5znOUvVzSOkCpAfHRwO/k4yfmPqAK2Zt1xChh0bo1+ vg0g== 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=04jnsrH/k5FGISNyxH5afqVngH3wf0OI2j533NgQ5yM=; b=gPYFfgPCVF923ros7EloYyPylUdzdUtuRfmMDrOCSa+/E11/HMJQ2h23PpJrCwytV+ zTl0RNeMFwQqx8PS1q1Kmf6ak0GovRRw6MlP4edaDLR99rQZWHlf3BcqshalbhlrWo0q QrmBYp2Te9POr1tCj275VLuiwWqIbn1o9U+hRjuwoOf9GrjbMELgPmdpxt3+AM8saI2T ykIo10CHVpDW3R/ruYh6SbiQRAwBf4omIomhB1F4GiGla2CYOQfk5hEXpMUc9MeCR4MZ Q+93Msl++6hc6LYDwy7p+mVJTwTxG4mZSRvzAUipqwKxyjP0UqE/wGN5DsmuR53NqEjg Etqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=gwP1uU2g; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020aa7900f000000b004faa59148b8si1316096pfo.211.2022.03.24.18.39.24; Thu, 24 Mar 2022 18:39:52 -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; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=gwP1uU2g; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352288AbiCXSdF (ORCPT + 99 others); Thu, 24 Mar 2022 14:33:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343922AbiCXSdE (ORCPT ); Thu, 24 Mar 2022 14:33:04 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E777AF1D2; Thu, 24 Mar 2022 11:31:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 0CA5ECE23A9; Thu, 24 Mar 2022 18:31:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B0AFC340F0; Thu, 24 Mar 2022 18:31:28 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="gwP1uU2g" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1648146683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=04jnsrH/k5FGISNyxH5afqVngH3wf0OI2j533NgQ5yM=; b=gwP1uU2g2TJPCCB646TQ2kPBRVevypIeu3F/lInNCav4gMyn/KEc3kxOZMju0qio4i+695 q8p68XZFsueGJo3j0EUHY421Lh+b3VzgaqUCiZtP1k3qezKNVQQT9luBU58U6F87UJDZ9t 3E6EeTI9Be6Tr90X7mXty+oLpOlmLvM= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 88971558 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 24 Mar 2022 18:31:23 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id j2so10045642ybu.0; Thu, 24 Mar 2022 11:31:23 -0700 (PDT) X-Gm-Message-State: AOAM530WmBXq9WHCTIdnWiVbuftEsEON0OjIVOLC4L3kPkffa8Wavd7m s1dMmm0ZQQnEj+X1lkQ/hhVAsoI7inOITGQDYQQ= X-Received: by 2002:a25:ad83:0:b0:633:abf6:5f69 with SMTP id z3-20020a25ad83000000b00633abf65f69mr5772660ybi.382.1648146681826; Thu, 24 Mar 2022 11:31:21 -0700 (PDT) MIME-Version: 1.0 References: <20220322191436.110963-1-Jason@zx2c4.com> <1648009787.fah6dos6ya.none@localhost> In-Reply-To: From: "Jason A. Donenfeld" Date: Thu, 24 Mar 2022 12:31:10 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] random: allow writes to /dev/urandom to influence fast init To: Eric Biggers Cc: "Alex Xu (Hello71)" , Jann Horn , Dominik Brodowski , Guenter Roeck , Linus Torvalds , "Theodore Ts'o" , Linux Crypto Mailing List , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,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 Hi Eric, On Thu, Mar 24, 2022 at 12:27 PM Eric Biggers wrote: > The example in random(4) needs to be fixed too, right? > > https://man7.org/linux/man-pages/man4/random.4.html Yes, that's always been wrong, at least for all of 2.6.... There are a number of issues with the man page that I plan on addressing all at once with a series. Jason