From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu-cheng Yu Subject: Re: [RFC PATCH 2/5] selftest/x86: Enable CET for selftests/x86 Date: Thu, 21 May 2020 15:58:11 -0700 Message-ID: References: <20200521211720.20236-1-yu-cheng.yu@intel.com> <20200521211720.20236-3-yu-cheng.yu@intel.com> <202005211544.26CD475832@keescook> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <202005211544.26CD475832@keescook> Sender: linux-doc-owner@vger.kernel.org To: Kees Cook Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel List-Id: linux-arch.vger.kernel.org On Thu, 2020-05-21 at 15:44 -0700, Kees Cook wrote: > On Thu, May 21, 2020 at 02:17:17PM -0700, Yu-cheng Yu wrote: > > To build CET-enabled applications, GCC needs to support '-fcf-protection'. > > Update x86 selftest makefile to detect and enable CET for x86 selftest > > applications. > > > > Signed-off-by: Yu-cheng Yu > > Reviewed-by: Kees Cook Thanks! I will fix issues you pointed out in the series. Yu-cheng From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Subject: Re: [RFC PATCH 2/5] selftest/x86: Enable CET for selftests/x86 From: Yu-cheng Yu Date: Thu, 21 May 2020 15:58:11 -0700 In-Reply-To: <202005211544.26CD475832@keescook> References: <20200521211720.20236-1-yu-cheng.yu@intel.com> <20200521211720.20236-3-yu-cheng.yu@intel.com> <202005211544.26CD475832@keescook> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-doc-owner@vger.kernel.org To: Kees Cook Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang List-ID: Message-ID: <20200521225811.7IB6wrQHw_bGq_fcbRP_maYr2v5yDY8teN_XPkH7xKc@z> On Thu, 2020-05-21 at 15:44 -0700, Kees Cook wrote: > On Thu, May 21, 2020 at 02:17:17PM -0700, Yu-cheng Yu wrote: > > To build CET-enabled applications, GCC needs to support '-fcf-protection'. > > Update x86 selftest makefile to detect and enable CET for x86 selftest > > applications. > > > > Signed-off-by: Yu-cheng Yu > > Reviewed-by: Kees Cook Thanks! I will fix issues you pointed out in the series. Yu-cheng