Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp609355rwb; Thu, 12 Jan 2023 09:57:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXvRoSRaggZHhg98bL16c3XfNWEW51X46QFd8CdkRG96vSYQ5kE0DmLzodz1Ix84j2qMJJHx X-Received: by 2002:a05:6402:1c95:b0:48b:a29f:4bef with SMTP id cy21-20020a0564021c9500b0048ba29f4befmr38909619edb.6.1673546265859; Thu, 12 Jan 2023 09:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673546265; cv=none; d=google.com; s=arc-20160816; b=nVzJV+A7LxNmjroTWAoMMwvs75CMVTzExL5jd44dZt1tiklGm0a2NWy6UXnCcYPxzD g2qfoieQumWNUtqgqHTCQX/11379STyNDprKZ3++tR0NS2sr8omHptV2UQ8Gta273WHl DUpup65m1q1CFFELdf/yKK5OvBZ/Fpl4KZSsNr1s01PXLflRIsl4avdBdphytsg/rDnp 7O5XLJnXXkbTD8bnJyHbU0lTS/kfsbXQ7t909+n9gbzE7gcTjFpSUloCJ8x23hNoPkVv 9kWFAfRrOVOmPzuQ+hd2bACMFrAlhNqsrhoLij5iu0Shx8Mx3Er+5JKMXWvNY3WGi3fI Tnnw== 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=Bo+4o9ecRuWQAULzjRnTX36y4m2WZrU7x5GwaBNbhRo=; b=akvycUtxJyWNuWTjrETmDdYn8PmnDsyxmpU2Nz3THqahiY+WxNcQkIeBfXx4dmvx2m IdnduekdrwAOwj979fdDX9/TWuv2UmQ/tW9UeiDftrFBodIFjpHJEq9T3d/TvR/FKfG0 oSMsMfnR7oogq0BvgDCnAtE3DjOvzsU8eA2GVnU387LCazlDkSwEgLxQVV7IE8rHHU44 TWuUUu1siEtEjyT3ognY9ckqjrNmBOpW+eXB91h/DV31jx/vdI0TU/rRnEwe/DRUjQOB jsp+OjumcRwquCm2i8TfEo/QTxzXQr0kAQ6BZWE2qWrzOLqFv5fHmVs5T7lW4qHB1e8z r7kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Wk5g94HK; 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=QUARANTINE sp=QUARANTINE 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 y1-20020a056402358100b004677d91cdeasi20812937edc.244.2023.01.12.09.57.22; Thu, 12 Jan 2023 09:57:45 -0800 (PST) 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=Wk5g94HK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233616AbjALRtF (ORCPT + 99 others); Thu, 12 Jan 2023 12:49:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbjALRs1 (ORCPT ); Thu, 12 Jan 2023 12:48:27 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1981C2; Thu, 12 Jan 2023 09:07:23 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id EBEB5620DD; Thu, 12 Jan 2023 17:07:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF282C433F2; Thu, 12 Jan 2023 17:07:21 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Wk5g94HK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1673543237; 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=Bo+4o9ecRuWQAULzjRnTX36y4m2WZrU7x5GwaBNbhRo=; b=Wk5g94HK2InowF/YblDxQsxIy/HufC+exR9T0+P/9Rn7dND8O7GeBZbzJetr7hDjrh1WR8 6Gow/v6LZVvxxqt0kdS0XbSQGgOwEHULYRDlGY6cVr+4QogSx0gmSr3tdGt7B4LnhK2Dlv 2MTCWNDcab+lW9lJ6iU8FP9XCNb+Amg= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id b9abb93c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 12 Jan 2023 17:07:17 +0000 (UTC) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-4bf16baa865so248040177b3.13; Thu, 12 Jan 2023 09:07:17 -0800 (PST) X-Gm-Message-State: AFqh2kq4ocOpfDpSHg56tDkR7pJzH5FNfb14H6RSfcWFUfel7YssIj3q fWaaHmFhMWRcnks+0mV+yqO3XruQeoojwHvTspg= X-Received: by 2002:a0d:fc87:0:b0:4b8:1d2a:31 with SMTP id m129-20020a0dfc87000000b004b81d2a0031mr4005903ywf.79.1673543235792; Thu, 12 Jan 2023 09:07:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Thu, 12 Jan 2023 18:07:05 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/4] random: a simple vDSO mechanism for reseeding userspace CSPRNGs To: ydroneaud@opteya.com Cc: "Theodore Ts'o" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Vincenzo Frascino , x86@kernel.org, linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Florian Weimer , Adhemerval Zanella Netto , "Carlos O'Donell" 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 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 Sorry Yann, but I'm not interested in this approach, and I don't think reviewing the details of it are a good allocation of time. I don't want to lock the kernel into having specific reseeding semantics that are a contract with userspace, which is what this approach does. Please just let me iterate on my original patchset for a little bit, without adding more junk to the already overly large conversation.