Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp18221lqb; Tue, 28 May 2024 07:47:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVU/9aTEbEXNmUycVUd1krSAJj0sY78fIrLA7fRenWRXJ6AI+EQuTfaY8av30hXPyqJwmYg330xu4Guj4AyEhsipT1+ErNBnHXHutnltw== X-Google-Smtp-Source: AGHT+IH7VhQKDyqFHXadHOiEIwG0TPNrFJ8EBZ/lC/AIw78VJApvK4ixyzcs7KXAWrQDtEtFq5Mc X-Received: by 2002:a05:6e02:1aad:b0:371:9d75:ac27 with SMTP id e9e14a558f8ab-3737b1f66aamr141443865ab.0.1716907659490; Tue, 28 May 2024 07:47:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716907659; cv=pass; d=google.com; s=arc-20160816; b=GsrrnfKNlDAkchT8tOzUT0FYmEt/Tfn0uugGIsaQZUP1pVlrTO6EfcMIQV1vr7a8/0 6Xo65IbG9fa2WvELHpP2eKbLNBs+AFV4s6pntJfedVf1l2y/YezuaDOTnbFeqsbmurv4 5x4LtXaljOa0/BoagkLhG7BIA/tB7E/8gCtFPJvdlYzcWManxZW6zUWupoxcw7YCDU80 APgJhPFEZLVHeOmCJxQyaspB0NFyX5aV+B8YUoPQcJU3MJh+BYh0k885jGWZ8VONuNdx sEK9ermxobTBtZXTMqUGKochFG/q4tQQyv//b/uTrzWrfKWKDthDtLQi95YHxguI1OG+ 4cDA== 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=W2k0ho4MdAkAbxz9sCr1vHlo4/ijHUp83UPCQgr4Fu4=; fh=a3TAILjO0S3zGrn1mnmglE3o18yOukE9bCcf5ncvlmI=; b=kggEAqEuHVA6JF76hZFN1F61vexINWT4ieCesQiKb7lmKKhn2tSPB0EFou5MPVs+tY 1ITPf3tCT5Q2khtJMXh3irJtGNDOkNaggIgzJO0KUlAZ+9OXsE52kbLxe3LEf0D2Faul YIbzXBmBOC8E3LwUrpXajARXK7R6W9blqQZxaCblSqBdwwhoLSya6fQdQxGJkAF+NI4x AJukAXzpRnSZ+M/Abz4xF69eVH7EYdqUZ/s+rKaIjFeOBvuvgdVcKPCh1kanJUxTy2Rz P16EOS9hSwPls2PGl4RaJQHjq+2SGuioa/5Jn7KlwxWhwsKA+UmQL4Uq+JKvZN6485z0 00mQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=G+uDRZb2; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-crypto+bounces-4462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae57910si8084789a12.808.2024.05.28.07.47.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 07:47:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=G+uDRZb2; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-crypto+bounces-4462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4462-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0384F283F0F for ; Tue, 28 May 2024 14:46:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6DF616FF30; Tue, 28 May 2024 14:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="G+uDRZb2" 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 8718B107A0; Tue, 28 May 2024 14:46:49 +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=1716907609; cv=none; b=LujmyeoC2PddgifHKgHacNoqITN9wr7q5R2FNTFXOIZvVDZgQ+EsPPwcqdpHWvTcXB6fu1+BBYOvzabyw3V/eLjNbNaJeb3mq1mYfQih1RjhznkiuU2BeP2wewAGwAiOA8ybXX0HgZP+lB8OX8aks5n2N8So1aXf+THkftAiLGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716907609; c=relaxed/simple; bh=wtEh5/u99fENnJNQrllCw9vLyimy2XrBJkj9B+2w+vU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cxa//st+QbtZ8He6e4KQX0mRpj2Dd6lQqvNiIzWKQmhe+GKP+AQmYX5KVENZ9pzuDRQeBsGBENyiFEDEtJkfB/h6lx+NbAqEZG5nnxYuf3luk3cWSnXnxdgBAjKUKHEhtX7lrLIsT9pdfREgILJI51F9ePjrsXJpZ8GVC7+zadc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=G+uDRZb2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B91ECC3277B; Tue, 28 May 2024 14:46:47 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="G+uDRZb2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1716907605; 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=W2k0ho4MdAkAbxz9sCr1vHlo4/ijHUp83UPCQgr4Fu4=; b=G+uDRZb280nWJknXkoFHDEKOAqThGHcsdPJF44P2i797gyiiegPyz6dQaj2Sor1BKuUe8+ Qe36ym2cXQ2CzkjOD7ehtrwjoQyPDPd8EQ+SLTuf68hdRjhFM4aBEWUXTGegvdkk3bn52P pCKAFh4+0JtjehXmdZaf7MBLI3/oPdA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ece78ccd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 28 May 2024 14:46:45 +0000 (UTC) Date: Tue, 28 May 2024 16:46:41 +0200 From: "Jason A. Donenfeld" To: linux-kernel@vger.kernel.org, patches@lists.linux.dev, tglx@linutronix.de Cc: 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 Subject: Re: [PATCH v16 0/5] implement getrandom() in vDSO Message-ID: References: <20240528122352.2485958-1-Jason@zx2c4.com> 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: <20240528122352.2485958-1-Jason@zx2c4.com> I've rebased Adhemerval's glibc patches for this and put them here: https://git.zx2c4.com/glibc/log/?h=vdso If you're running systemd, you may want to whitelist the syscall in order to make use of it: https://github.com/seccomp/libseccomp/pull/395 https://github.com/systemd/systemd/pull/25519