Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1279168pxj; Wed, 19 May 2021 02:21:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzjkoFwQ9yh/4DZGSBT4mnfw+LZkvzfJKx6tmZEroxe0RYhMsMobQrb3gDToA9lXL6Cuwp X-Received: by 2002:a5e:a619:: with SMTP id q25mr8734808ioi.95.1621416087002; Wed, 19 May 2021 02:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621416086; cv=none; d=google.com; s=arc-20160816; b=D2KKJzseY2RQwPdLMddm9uyIoqqj5xeovLnDg2gCA46GiRtQlXmkqGxFZmtn+fH4Ro +CnXOR/ies11EgkVxkrGiUO2CL8zTW4fqXuuawTGGI1MQDIeVIIjLtnOeZClr5XWoyih /DSF4s+To9lR6MlrFovv9DLE33iRY+qP5CgHr1YkwoMjLtRvnAVXWk1Ya9hZWuZBpqe5 asEqe+qjK5hWHcVa4rtbBdaCI5+Ms06GOE3c8EtcTZKR792nIOToH6aNDYuTrGIUoBFa 76tjdvhBifBUyEFH1i/H33iauNyPKL5RUxwiWtmu96MH0I05YGFXegXWnguPrjJAfJVn kaqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=+KmKCH9+X1GrMfr1BN1l176CssFSpSIwHtCwdbJbrPQ=; b=OSUq6h4OpkIN5LuxlAUhF+xmm6QQ9pPTIztcrV2bMb1ETsKkiaXcfTF+NusWY1u65j broud1537lm7y9IjyCqwc8X5W7wnrmr+VCA81niOPgv+VaDVpv9t/Dhs8JC/X/V7PryO KjvZSxzKZB5Zl0BrCPalul56ozqEV5tIzHM3y1z0I5xbysTsL8Yoa7RdSRrzNGLwz+/7 o+kq8lKUTA4La5A/DAGUWlmdsKipPV0xbIfJofWrY6pHlRiTQriQLZ2UYzTSmSGcV7sH KhfnKrDWcPchAAow6E7wOoON/pRfQv6LxX8V5su7ffQMSJtYaAsLQDioy3OIDafgYbF4 +nZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2021042801 header.b=KrJFNZRX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si4144789iof.8.2021.05.19.02.21.14; Wed, 19 May 2021 02:21:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2021042801 header.b=KrJFNZRX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244722AbhERA2L (ORCPT + 99 others); Mon, 17 May 2021 20:28:11 -0400 Received: from terminus.zytor.com ([198.137.202.136]:58457 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235315AbhERA2K (ORCPT ); Mon, 17 May 2021 20:28:10 -0400 Received: from [IPv6:2601:646:8602:8be1:c569:1cd0:3c83:3a98] ([IPv6:2601:646:8602:8be1:c569:1cd0:3c83:3a98]) (authenticated bits=0) by mail.zytor.com (8.16.1/8.15.2) with ESMTPSA id 14I0QXWv3839931 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 17 May 2021 17:26:38 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 14I0QXWv3839931 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2021042801; t=1621297598; bh=+KmKCH9+X1GrMfr1BN1l176CssFSpSIwHtCwdbJbrPQ=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=KrJFNZRXuhD/qvYmWRw/WrJsNy/X8RApGB406O4HPveoW1zKtlsuXQ6ZKyhr0jxEi R6nfVL36wX/zFCRmuvdbx4ARXEYIrqFuyy+gvU/JZ5Ld5RbaXu9rS9UneuVRji2DUp CBsAmX/lR/Gv3b6zTPP/pUpBWrHWoeD8l3e3tZVnell8oWPDcFXyyU9n2w9eh7j6Bt 3HIFUv/NcVs4xinKG/R8pwbJWTkth3WkP29ymWfbfZ3KwtMPY8oqoTWBi17VjGfQ9+ mCe2MKuI+cXPQlzJUgy8OKkd1Db8NmiDf4/EN0Qs95355KdVwqQaAqdbjq4tqMNNfy OUlWZdgoSHo3Q== Date: Mon, 17 May 2021 17:26:22 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <20210515011015.2707542-1-hpa@zytor.com> <20210515011015.2707542-3-hpa@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 2/4] x86/syscall: update and extend selftest syscall_numbering_64 To: Ingo Molnar CC: Ingo Molnar , Thomas Gleixner , Andy Lutomirski , Borislav Petkov , Linux Kernel Mailing List From: "H. Peter Anvin" Message-ID: <516A893A-3436-4693-8960-FCE70C3C0B5E@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sure=2E I am also working on implementing Andy's request of adding a ptrace= r; it will probably take me a few days to clear off the time to do so=2E On May 16, 2021 12:52:06 AM PDT, Ingo Molnar wrote: > >* H=2E Peter Anvin wrote: > >> From: "H=2E Peter Anvin (Intel)" >>=20 >> Update the syscall_numbering_64 selftest to reflect that a system >call >> is to be extended from 32 bits=2E Add a mix of tests for valid and >> invalid system calls in 64-bit and x32 space=2E >>=20 >> Use an explicit system call instruction, because we cannot know if >the >> glibc syscall() wrapper intercepts instructions, extends the system >> call number independently, or anything similar=2E >>=20 >> Use long long instead of long to make it possible to compile this >test >> on x32 as well as 64 bits=2E >>=20 >> Signed-off-by: H=2E Peter Anvin (Intel) >> --- >> =2E=2E=2E/testing/selftests/x86/syscall_numbering=2Ec | 274 >++++++++++++++---- >> 1 file changed, 222 insertions(+), 52 deletions(-) > >Small request: I'd suggest moving this to the first place - so that we >can=20 >easily test before/after effects of (current) patch #1/4=2E > >Thanks, > > Ingo --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E