Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp137328pxk; Fri, 11 Sep 2020 02:38:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+Wa5UhGP9JtmXC0uHs2B+4R9xuSp8Q0hjf+5Ou774FgaOTEBzrhQ4xddcwi/dVEA6sfY+ X-Received: by 2002:a50:b081:: with SMTP id j1mr1018871edd.291.1599817135859; Fri, 11 Sep 2020 02:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599817135; cv=none; d=google.com; s=arc-20160816; b=ICZN2sYo3rJUm5BmsZR1BH5Pzs0Z+Nf5hg6An35vZiW2TPdsVv95/UxX7ndYPkNxeX +NR9TsjZEUmoZsb7M0zTlnRC6gJfMSEVhOiVG4FkUCyFUTltFn3HPYbTOI9AXQduLXqi YWNNzD8qKJ10hvjXbVKSfK/AQ7NosLWVwjQpOpJQp4GsRsg89SIwnlKDim4zWboVQzqt 84cM+dAkjH0SMVDihqozoIGF+zQi5SFZP7IxpS5rRQIvsE5Y0+m5mR39I0KMewh4yMDs Jgdy5JJ5XLeZOXU3+nIBj2n1zjSigbVeUAq1BKhD0/jt8+FuoXH9t+iCSwxqMjYvRPqu QGBQ== 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 :dkim-signature; bh=ahpwR8TBD77mfd9yBZswIDaF9X/0frtlU0juWV51o08=; b=wULFndF4kDcnlEKo+6lLdADa8GDA3JdEft1qsLJnh0fWwQ/AXeh8jPGv5GPZBrygTJ 0yx6x5vMkcz2QOJPYD+f7wfxeU++YixHHGFY6Vinian478glzuCbd1+zBKDhRrlUHvB0 Joxfviqw3WvbZH2SKh1kIqyY9EhMSK2MGEqzH0ErCKAOSh17XdZTg5FJQyo0cDeJJpz3 rKjTM4WyO5uN2bxFv6zMk/QHh0uB2jXucfoHdtKWJBUzHuGQtLJCkyyrweHWOuwDwUam 5MNNyQuwXuGSMLUbyvMlObDz75/ljxO7/piQQN2fqaf/zgX/qZnniczfCkejX0KBY73K sFRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=OHP6NY3a; 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 bm19si922161ejb.332.2020.09.11.02.38.32; Fri, 11 Sep 2020 02:38:55 -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=@infradead.org header.s=merlin.20170209 header.b=OHP6NY3a; 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 S1725787AbgIKJf5 (ORCPT + 99 others); Fri, 11 Sep 2020 05:35:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgIKJf4 (ORCPT ); Fri, 11 Sep 2020 05:35:56 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4544FC061573; Fri, 11 Sep 2020 02:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ahpwR8TBD77mfd9yBZswIDaF9X/0frtlU0juWV51o08=; b=OHP6NY3aVOUVW3+DAGp1oAqGkO q3PdpUUqSCkfF2gvVwOHaYA1ry/mGdx4NY0KusJ8T3y7ESDvIy9Q3PzZa68tAt8/H9oyoaW1xriGW Z71b19zBiFVDB/Do1FW0CXVKFQceiAXqjginTsLNoWrg0Gj1J0Rk4fFefOJ6waWqmZK6nlAItoVXV hvfUdoJkDMViNd463bFeki5JX+mmuG3QRGWDHUNHh+4GrloMX/mCD96nF8NVD6pSR5iLeJp8hesWK ZRDcf3a4f4Qw4/NsEwCa2CBLwx+y5RydyMtBaFHhA1ORp9zatiRuY5mfj6E8BNmNbyF9CMZRDTlTd 6ekTfp9g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGfTC-0003fQ-SK; Fri, 11 Sep 2020 09:35:51 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id AA6143003D8; Fri, 11 Sep 2020 11:35:49 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 92EE52B06B001; Fri, 11 Sep 2020 11:35:49 +0200 (CEST) Date: Fri, 11 Sep 2020 11:35:49 +0200 From: peterz@infradead.org To: Gabriel Krisman Bertazi 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 Message-ID: <20200911093549.GE1362448@hirez.programming.kicks-ass.net> References: <20200904203147.2908430-1-krisman@collabora.com> <20200904203147.2908430-3-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200904203147.2908430-3-krisman@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ?