Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp525135pxk; Fri, 11 Sep 2020 13:14:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRogyM13kZZu3M4Dpj15H1+htXWlKM2z0T+kbxXW+9865I9sZPQPvi8MX2Vxa2ycQDoQSI X-Received: by 2002:a17:906:364b:: with SMTP id r11mr3566742ejb.48.1599855272500; Fri, 11 Sep 2020 13:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599855272; cv=none; d=google.com; s=arc-20160816; b=YY2RrBSCbyyR5wORhxy1W4SDQsQY+Wx+wAhkdHqowS5jtJ0Bp/kplxcGZL3lTOnwFs 3qW4SL6ijd9oavhtQNFOQ4jjqWfnJ1KIpn5NegJ4rwai2EwerdK0aX9OoBIMLbAgGod2 DWtdZeXyKlZ3lCmkIZ9+lwtWp0HeJekJUEEqieF/aLpzUQPeXhIMJFmkOGEL6EQ1rH+u lbkoZjvdkPnzt6uyrx6vPGZOs1VHetKx87CTAwdc46TmNJkOJog1qdKJngQZeGHr7vl5 QAFkSVRkvhDRnz4Zm3nv1e6JTxytcqVnmeMZiK9etVhGsmMy2yClQX/FYHixY86KMJme pHYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from; bh=eJko9JFmr6UJwNxsSnVQEmdAFZU+LRAsxvvExb1qR78=; b=CybC9pIKewiCaXpK/lwM3x2wEUnNGkrfa6wM6JfI31BWWsULlcdiyaas3jEApcCBuU C1KKG0lDgGUQ4NBiOI7I60TQqtl2J5WyW+5CexuoyUai0YfyzQOLXJT0Kcoih7C8l1hh pT8i9/BzvV4htIFHvKCIUVQuIbtuGSEVxycvv6z06OyaYql4jdEmSeMD4XuS7sdnvb6L Y/RdEm8w6sW1l9NO9zFXY5w9+772pSaYIhG+sih5Ona6e1ZIzdJCtCt2c5H6NzTHsK9k orpMK7q1pF1k9rvRBhvHfgxR9jLPQjN+RmRPC7zI06N2zzRMLGa/1nHdsOGEvw1hz6Uk oSTA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si1918801ejz.567.2020.09.11.13.14.09; Fri, 11 Sep 2020 13:14: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725816AbgIKUL0 (ORCPT + 99 others); Fri, 11 Sep 2020 16:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgIKULY (ORCPT ); Fri, 11 Sep 2020 16:11:24 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C0BC061573; Fri, 11 Sep 2020 13:11:24 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id BA2E029BA66 From: Gabriel Krisman Bertazi To: peterz@infradead.org Cc: luto@kernel.org, tglx@linutronix.de, keescook@chromium.org, x86@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, willy@infradead.org, linux-kselftest@vger.kernel.org, shuah@kernel.org, kernel@collabora.com Subject: Re: [PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code Organization: Collabora References: <20200904203147.2908430-1-krisman@collabora.com> <20200904203147.2908430-3-krisman@collabora.com> <20200911093549.GE1362448@hirez.programming.kicks-ass.net> Date: Fri, 11 Sep 2020 16:11:19 -0400 In-Reply-To: <20200911093549.GE1362448@hirez.programming.kicks-ass.net> (peterz@infradead.org's message of "Fri, 11 Sep 2020 11:35:49 +0200") Message-ID: <874ko4nkew.fsf@collabora.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org peterz@infradead.org writes: > On Fri, Sep 04, 2020 at 04:31:40PM -0400, Gabriel Krisman Bertazi wrote: >> diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h >> index efebbffcd5cc..72ce9ca860c6 100644 >> --- a/include/linux/entry-common.h >> +++ b/include/linux/entry-common.h >> @@ -21,10 +21,6 @@ >> # define _TIF_SYSCALL_TRACEPOINT (0) >> #endif >> >> -#ifndef _TIF_SECCOMP >> -# define _TIF_SECCOMP (0) >> -#endif >> - >> #ifndef _TIF_SYSCALL_AUDIT >> # define _TIF_SYSCALL_AUDIT (0) >> #endif > > Why doesn't this add: > > #ifndef _TIF_SYSCALL_INTERCEPT > #define _TIF_SYSCALL_INTERCEPT (0) > #endif > I will add in the next version. Thanks! -- Gabriel Krisman Bertazi