Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3298440pxk; Tue, 15 Sep 2020 15:48:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztUBkmoO/IJW96vpI0gvLH+kMkqJv7rnswZJrXvgp22z4gR4RVERLy1lE1ytHFXI5hdDus X-Received: by 2002:a50:8d57:: with SMTP id t23mr25083295edt.308.1600210112089; Tue, 15 Sep 2020 15:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600210112; cv=none; d=google.com; s=arc-20160816; b=FEZSy0M/jWo6mqtusNh8YnkvX+YLhm1SkyTgmKMPYSUII3pszjLq3C59UV8lrj7j7a rfpaiMOlVcceeRjOdPn7Um/jo9KP5evC74B325X9iutUMrjYOwGsG9HFZVNGDlCfSlzc t+/AKorInDLyddYEY6W+3TtfnYuTRRBo/ki/5V2hQF6qAYDlth2ROZGskF1AH/5/AkPw 4qYBbTvMHhR4bB8M287ns2hn8OVXDo/VHTFOCLYB1mvgfFVFoAGU9+r2sONqaSG37tZV iTNEJTd/FN9pyx51uCGvEKID329XcHlRRK/y+lQjuKj4icM5WBeYYgb+tW2QsLj+PBFL aUQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=dNp+Oy6CjqcyEeHjtj0MmQp1SU1J57HUbMz8ry8CnAg=; b=McCejqFvbIQeJoaWAP368ooas5LBqkknbbKe9cTjgR8D1y0kkzz+afqhN4PvD+p+qM DGJr1tV80vcYhqexkr6HNlLq2SNL1vQcaHClKC2fKgkPsOMBsVX6og5pqfCpujUmLbOX piLfo5ghf4u3buUkopgPVIeODABTutHWR5+vuscO6HJBB2csJv8gFuOcWH2aBVthqd72 9q3d7hT/jlopARlBX3PtYA75JL14zV9PMr4XdRPOq49/OB1t3wNGfjIp/Vqo9TMEmQyk x2maMRnLi6ajTDUEOit/SV5NfSIPV2K+tQjZeoc5Ksv6+yEs0O5nP/pdLdKMWouEc/Fv dFyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si10610441edr.490.2020.09.15.15.48.10; Tue, 15 Sep 2020 15:48:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727396AbgIOWpW (ORCPT + 99 others); Tue, 15 Sep 2020 18:45:22 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:47791 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727307AbgIOPxy (ORCPT ); Tue, 15 Sep 2020 11:53:54 -0400 Received: from ip5f5af089.dynamic.kabel-deutschland.de ([95.90.240.137] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kIDFF-0005NH-1g; Tue, 15 Sep 2020 15:51:49 +0000 Date: Tue, 15 Sep 2020 17:51:48 +0200 From: Christian Brauner To: Kees Cook Cc: linux-kernel@vger.kernel.org, Thadeu Lima de Souza Cascardo , Max Filippov , Michael Ellerman , Christian Brauner , Andy Lutomirski , Will Drewry , linux-kselftest@vger.kernel.org, linux-mips@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 01/15] selftests/seccomp: Refactor arch register macros to avoid xtensa special case Message-ID: <20200915155148.ujvgr5o6apls7rob@wittgenstein> References: <20200912110820.597135-1-keescook@chromium.org> <20200912110820.597135-2-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200912110820.597135-2-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 12, 2020 at 04:08:06AM -0700, Kees Cook wrote: > To avoid an xtensa special-case, refactor all arch register macros to > take the register variable instead of depending on the macro expanding > as a struct member name. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner