Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1356251rwb; Fri, 18 Nov 2022 17:24:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xCTR+KoiXO/sUanteE5Vrztr21Zn/nyF7ta2KKU1QJ+V3ZnU9isvFxX5An5l88UpP+HH6 X-Received: by 2002:a63:114b:0:b0:46a:e00b:ada0 with SMTP id 11-20020a63114b000000b0046ae00bada0mr8849500pgr.409.1668821063685; Fri, 18 Nov 2022 17:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668821063; cv=none; d=google.com; s=arc-20160816; b=oOBRLgbg2iKP78XCcCEd7Ce4uGNaqkOxZrekfblfX8xpsiMUiUUbvIZbkUQ7oEElcd NNOFPUO0fgB0IWr3HldvVp0D0LZt1U8FA4Qo3hRxtVU0NxiEUEVHRVbvqrR7YJ4mwDk2 EpsCn7L1vJIFnESF88DRovSgUUe7IIwMxGRvY2dWU3AzrhDEnl1I0UJkN4HJDfFAKVuc s/t+ejEtPkgrAz0HNpx5UuB7OgLxNz02b6bMltPmYBn/tEiO86I8eNxeyO9OFYeI8PqR +Sqc9BlVnq69oqlN8yuBzWUccV0XXZBT2aifA62GrtN3yPYSPzeKNSQBj79/QQr2djk9 Kd9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Zc5Gig4VbI4saQAOBF8fdoMv4wyPQ60/rO49VQYER9w=; b=Ngxxtzo7oLDY9a5LfEmWejEr/skG0CUshqUjmp8gYUYmlGVrcarwT+AXzPKdy9ItPg /dDEYlO+nJ/Yw8QINtDYJzEvRnBia7KLs/hb77JtiAQbjzhUdAmDF+DZcvsZJ77zaIEW ay35YqDQZ+bUBHyxFaOAwOwOl8swvSwqU6UtcIuefPg3NkuBPq4F7Y6kRVkDlg7plcMi K6p1VNrzy+h+6UVrg+fuVR3LCxtVwe/rcO6zqnl7ztEayf5LlULV91TcIDo3HbElsMFU 6bScdK9L/MoMrIKeB4Z0l85z3ZGeoBUhS1LJtKd8/z48ehQETPOvpSmRxhh5YGGLcjYE Vg5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=OiCwvmLK; 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 d3-20020a63f243000000b0046ffd5dc0ccsi4928177pgk.433.2022.11.18.17.24.09; Fri, 18 Nov 2022 17:24:23 -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=OiCwvmLK; 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 S230453AbiKSBVy (ORCPT + 99 others); Fri, 18 Nov 2022 20:21:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232030AbiKSBV1 (ORCPT ); Fri, 18 Nov 2022 20:21:27 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF2D1FC1A4; Fri, 18 Nov 2022 16:20:13 -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 ams.source.kernel.org (Postfix) with ESMTPS id 64616B825A8; Sat, 19 Nov 2022 00:20:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B422C433C1; Sat, 19 Nov 2022 00:20:10 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="OiCwvmLK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1668817207; 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=Zc5Gig4VbI4saQAOBF8fdoMv4wyPQ60/rO49VQYER9w=; b=OiCwvmLK9GFpbvFfKRHvzf0VLzzAq+B3elInHWpjexo2STNnnLPWojyXuNT9ff4TJgOoyY fq8CVZMhsZhng9PsdZfITNjcFDNBV5kH7l/axDo1hQeN6dzsPpz3GOGoVdzbhzegkxKcSK IOPZHTjp7WjcrLLJEBXrn92MfczltYM= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ffce2f31 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 19 Nov 2022 00:20:07 +0000 (UTC) Date: Sat, 19 Nov 2022 01:20:05 +0100 From: "Jason A. Donenfeld" To: linux-kernel@vger.kernel.org, patches@lists.linux.dev Cc: linux-crypto@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Greg Kroah-Hartman , Adhemerval Zanella Netto , Carlos O'Donell Subject: Re: [PATCH v4 1/3] random: add vgetrandom_alloc() syscall Message-ID: References: <20221118172839.2653829-1-Jason@zx2c4.com> <20221118172839.2653829-2-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221118172839.2653829-2-Jason@zx2c4.com> 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 On Fri, Nov 18, 2022 at 06:28:37PM +0100, Jason A. Donenfeld wrote: > diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl > index 320480a8db4f..ea0fbc2ded5e 100644 > --- a/arch/x86/entry/syscalls/syscall_32.tbl > +++ b/arch/x86/entry/syscalls/syscall_32.tbl This also needs to be wired into unistd.h, sys_ni.c, and checksyscalls.sh, with its definition dependent on a new __ARCH_WANT_VGETRANDOM_ALLOC macro symbol, like all the other new syscalls that get added arch-by-arch. I'll do this for v+1. Jason