From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Subject: Re: [patch V4 11/15] x86/entry: Use generic syscall exit functionality Date: Tue, 21 Jul 2020 14:47:56 -0700 Message-ID: <202007211447.8F89234@keescook> References: <20200721105706.030914876@linutronix.de> <20200721110809.432210708@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200721110809.432210708@linutronix.de> Sender: linux-kernel-owner@vger.kernel.org To: Thomas Gleixner Cc: LKML , x86@kernel.org, linux-arch@vger.kernel.org, Will Deacon , Arnd Bergmann , Mark Rutland , Keno Fischer , Paolo Bonzini , kvm@vger.kernel.org, Gabriel Krisman Bertazi List-Id: linux-arch.vger.kernel.org On Tue, Jul 21, 2020 at 12:57:17PM +0200, Thomas Gleixner wrote: > Replace the x86 variant with the generic version. Provide the relevant > architecture specific helper functions and defines. > > Use a temporary define for idtentry_exit_user which will be cleaned up > seperately. > > Signed-off-by: Thomas Gleixner Acked-by: Kees Cook -- Kees Cook From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727971AbgGUVr6 (ORCPT ); Tue, 21 Jul 2020 17:47:58 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B86CC0619DC for ; Tue, 21 Jul 2020 14:47:58 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id f16so84757pjt.0 for ; Tue, 21 Jul 2020 14:47:58 -0700 (PDT) Date: Tue, 21 Jul 2020 14:47:56 -0700 From: Kees Cook Subject: Re: [patch V4 11/15] x86/entry: Use generic syscall exit functionality Message-ID: <202007211447.8F89234@keescook> References: <20200721105706.030914876@linutronix.de> <20200721110809.432210708@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721110809.432210708@linutronix.de> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Thomas Gleixner Cc: LKML , x86@kernel.org, linux-arch@vger.kernel.org, Will Deacon , Arnd Bergmann , Mark Rutland , Keno Fischer , Paolo Bonzini , kvm@vger.kernel.org, Gabriel Krisman Bertazi Message-ID: <20200721214756.oclFze22RAUGSSXxZQTMw6oRfakPcuNHq4lsa0FZuuc@z> On Tue, Jul 21, 2020 at 12:57:17PM +0200, Thomas Gleixner wrote: > Replace the x86 variant with the generic version. Provide the relevant > architecture specific helper functions and defines. > > Use a temporary define for idtentry_exit_user which will be cleaned up > seperately. > > Signed-off-by: Thomas Gleixner Acked-by: Kees Cook -- Kees Cook