Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1122131lqt; Fri, 7 Jun 2024 08:34:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtqAd0bvyUlz6a/BV5d/qLYG+kiYqaYw5Enx4KTJdtWlAIXPVJdefI8okPTEpeOiWKC7Vdmv/+2nYks8MZYrS3vpY+aA6EFNTQTGejAA== X-Google-Smtp-Source: AGHT+IE1WgUQLhpZc6hE6UAPhRxejlZfYDxO56+6OGzauYfJOJTeVDfVXOWML2lvxp+kU/VyLk8F X-Received: by 2002:a05:6214:5c43:b0:6ab:9619:a811 with SMTP id 6a1803df08f44-6b059bd6993mr29415566d6.33.1717774448732; Fri, 07 Jun 2024 08:34:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717774448; cv=pass; d=google.com; s=arc-20160816; b=ojRzYVYjUpl9Nv3JW3zS9KOEfD+2VqGALt2qfniOryCWKkcLESPmnEzJ0Gg6GlfxwA Kxorae66tlnfjtm37IGCTGlykU/96Z7whscF6RnteqQw6j4QeMy86fqRVD53JVsOH4wd BZ7XFf4zfFHmxno+QhHJZqGqjW3Xgpfx/I8/ya16pimq/kxt26D/mRacuj8LNiWTGIPw e1sIxb90WmeKFL1eI09tgAnsOyXK14CjUXBaSvw6B1MmUwsdsyK7ubMv9LBhG0WlZ6qN 1zxPDSaoVfs6upn4j6LsWvgz4sjB9zcVLEYDARX+XCJmMOVmpsR6sO0NQJhgSO1T3KYt VDWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RSBtpjtlrpc2CzImC2n5E7dUQ7Q/WiGuFREctaE417I=; fh=ftgCasZCvnYxf5aXQFbDRJCl30OArUxDUfzDtB0Ec5M=; b=mwVo/T+GcKTZA94qyBpGwsxUfYczCi9kTaFEsnDS69ILH8aVDIBotJL6SWI6A4Ut3B DkI6RSMGv93N287M7VFow4pC0o//TIPI97wfqfVhKj0phXZIuSbnsKU2XT+m2McIbreQ KxjUS/l4jML7hHIOrPH6MJxuAdjaiaqlhHide6+tecKbVZZh9vHCnAzjyNjhYuJepF5l mq66H33sZ11XY/nBjOv74sWJG9AT3WB54VjJ1rNgHEbVZ1rsddqRpXwTNGtCe/dyRbXb vsuEZTrrR7B4w4ajChjNZUzmsJWTbW17iDRVpO1h3sqgLd9sc3iGS9TPck4iANewTSjn uqAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=huKnBm7a; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-crypto+bounces-4845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f6812ecsi42367766d6.151.2024.06.07.08.34.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 08:34:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=huKnBm7a; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-crypto+bounces-4845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E23A1C20C13 for ; Fri, 7 Jun 2024 15:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1293E19A29F; Fri, 7 Jun 2024 15:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="huKnBm7a" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B955726288; Fri, 7 Jun 2024 15:30:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717774258; cv=none; b=AirzxLXUc+jlNaT/WdsfO0ECwUi6HdYYPjXTNCwvBl70jfG6ZsbCJ2ZlorpShEN2P0HpZ6Nn4/fVXMz87JzUQAXMy1hs8mIRc4rfVrPf7BDC4o2wBLqOGU9+3wyG680tzGgSZ5r/3/Oqn3kHx0UKUSr/q2J6Vy7CCSY1CS6R+/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717774258; c=relaxed/simple; bh=oxk07G9AQ9wIGZL8jSRqzpGk63H2eoRRZA7xDUZYFhg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ERw5d/6iQP4P0qybOMmsGUQLUMRhDh1QskNKis93Bb7WMlNNBFP/O5ubwUUADzFlsTIyOKBYM1ZxjnDuF34GTpVbVUaN6P/fYJ8Mf8ILCqfXm95L5W5szg+NDGjDnkgTqYnZ1vYBj0IAP03Hj7rZKd7d9QRuVN3BTRMNCAjiDhU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=huKnBm7a; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0BEDC2BBFC; Fri, 7 Jun 2024 15:30:56 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="huKnBm7a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1717774255; 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=RSBtpjtlrpc2CzImC2n5E7dUQ7Q/WiGuFREctaE417I=; b=huKnBm7aYhH8j0n32mH5A9SyaxUr7UHpAkOXiJ4qxQu2anGBN7G+dfu5QrdTO2AjcLIaUO gvKbTVTjJCLceohjM5oyg4O2XQvchcMcBDX1u+SAR4Mcu60GZM0QXU5SEuoZWePpnkjZwH bezoig8o670EXklveZszu4UG3MQde4Y= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id f2c6e6f5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jun 2024 15:30:55 +0000 (UTC) Date: Fri, 7 Jun 2024 17:30:49 +0200 From: "Jason A. Donenfeld" To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, tglx@linutronix.de, linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , Adhemerval Zanella Netto , Carlos O'Donell , Florian Weimer , Arnd Bergmann , Jann Horn , Christian Brauner , David Hildenbrand , Samuel Neves Subject: Re: [PATCH v16 5/5] x86: vdso: Wire up getrandom() vDSO implementation Message-ID: References: <20240528122352.2485958-1-Jason@zx2c4.com> <20240528122352.2485958-6-Jason@zx2c4.com> <2b21f479-cf4f-49a3-b7c8-33f87a1998ac@infradead.org> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2b21f479-cf4f-49a3-b7c8-33f87a1998ac@infradead.org> On Fri, May 31, 2024 at 12:16:03PM -0700, Randy Dunlap wrote: > > > On 5/28/24 5:19 AM, Jason A. Donenfeld wrote: > > +/** > > + * getrandom_syscall - Invoke the getrandom() syscall. > > + * @buffer: Destination buffer to fill with random bytes. > > + * @len: Size of @buffer in bytes. > > + * @flags: Zero or more GRND_* flags. > > + * Returns the number of random bytes written to @buffer, or a negative value indicating an error. > > * Returns: Ack. Thanks. Jason