From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4F68C433EF for ; Mon, 18 Jul 2022 21:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YPciv9/NSaPFGIOzHQc0RZpezON3DGmghlePpVd+SQU=; b=YuTYkoJmyf4Vkm ixbk+7GjRjTIewSaPueWvu7H9AcnMlhs2re4ipVV3NuLkXY5ZCDnGm2U914+mg55/IKMZlJoiWjSH EWerDidrvKPRTqpQRKWoP+IbDbQakgDAiR9JJ02a2Aq+QNoWnDdnt6wjJJsZiik2TnmoL5fXvCbdS xnpCdNhbu9cdG8hzocopOybH2XBzMpW7nVz/v5N9cIlfjoqxGp9ONq4FwqY63ilx536aUIi0BXl/D fZMcn3I2yjPNqdp2g9wibAEcC+D1HxXuiY3ZeGHFJyw4/5KmjqxKcglJ/MVSGrCSkNJz372iJuPzV DZ6SWHHcWCBmajkuyTiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDYZS-001h1U-LT; Mon, 18 Jul 2022 21:46:30 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDYZQ-001h1M-RN for linux-arm-kernel@bombadil.infradead.org; Mon, 18 Jul 2022 21:46:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=gB0Dyj6KD1xR0J9edWlW2XlEQizibh7QqbUWvK+mgdc=; b=eObLTaTy/3Us0YDbQ5gnsRcwcZ DuDFu+DbE2G2jh6j/NlBzj89vGk9Ot9DsAGhGZXwZxAfFuM3xbPLMzHXqe0n3NiJXDAh+zpSyesu0 /yIaXYGLlRJLO48Nr+n3Vnlmc79kCqNiUDMJ6/kq4RR2yDSpknB2nX1fT9NxNE9ekd2lgagl20bVH vkOsh1WPu1uZkxgRXHmhJvTsImpDTfQ4JOzW9BxDlhdY3CASpc+BG1b0r1rdMS7KNI8Towfzug/bx d2SFavJYeWYJIZcPdOxkUhWJ/ovM6TuBKEo2rV1Yu1uzV7fjxk6NsX9Nh0koq5YwNtI5MIjCH5lvL nkIsd8tg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDYZN-00D3tf-Aq; Mon, 18 Jul 2022 21:46:25 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id AC3489802A7; Mon, 18 Jul 2022 23:46:24 +0200 (CEST) Date: Mon, 18 Jul 2022 23:46:24 +0200 From: Peter Zijlstra To: Kees Cook Cc: Sami Tolvanen , linux-kernel@vger.kernel.org, Josh Poimboeuf , x86@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [RFC PATCH v3 00/20] KCFI support Message-ID: References: <20220610233513.1798771-1-samitolvanen@google.com> <202206131001.6BA9933C@keescook> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202206131001.6BA9933C@keescook> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 13, 2022 at 10:04:12AM -0700, Kees Cook wrote: > On Fri, Jun 10, 2022 at 04:34:53PM -0700, Sami Tolvanen wrote: > > KCFI is a proposed forward-edge control-flow integrity scheme for > > Clang, which is more suitable for kernel use than the existing CFI > > scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't > > alter function references to point to a jump table, and won't break > > function address equality. The latest LLVM patch is here: > > > > https://reviews.llvm.org/D119296 > > > > This RFC series replaces the current arm64 CFI implementation with > > KCFI and adds support for x86_64. > > I think the "RFC" prefix for this series can be dropped. :) > > It looks to me like all of Peter's concerns have been addressed. I'd say > let's get the Clang side landed, and once that's done, land this via x86 > -tip? > > Peter and Will does this sound right to you? It touches arm64, so if > -tip isn't okay, I could take it in one of my trees? Sorry, I was a bit pre-occupied with this retbleed crud, I'll try and have a look at things shortly. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel