From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A35B46B8 for ; Sat, 30 Apr 2022 09:09:17 +0000 (UTC) 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=fmjKi3vzk5o50Dip5Ph0Bmr/f1E5Lj21/lbWqEwgHkk=; b=gP2jQek7ogrpQN1C4MXnP7aih6 9MpJEvWzvlOJpxul3NuvKTM+1Aymo8v2WKGSWeTkjPuh9j5Kx6oalC9wJePh3SCBiQauChsIADQ2p awHTCsB7ByqI2tgdiudUdNwUPwJefZVeg1l4ofe5iiqvmn8WItr7C/7gjnoGx4MI1PTeAEK+Kce1l m1YgnfIbhxGraj+tYK/82m+XakPv3zCiqhetcFWQppvw2k+nTdjPrw9LuFPQL2QdjLx1kxy4K5nOQ HB4Fh5lHfvGCgodgr2tGjwSaUNzWQ3LPB+VFSFE1iRiJMLzYHDAcxE15A3g/1tBSl/kbjQgvf7UpB oaxIK3rA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkj69-00DDvg-Aj; Sat, 30 Apr 2022 09:09:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 60B393001EA; Sat, 30 Apr 2022 11:09:03 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 256252028EFE6; Sat, 30 Apr 2022 11:09:03 +0200 (CEST) Date: Sat, 30 Apr 2022 11:09:03 +0200 From: Peter Zijlstra To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Kees Cook , 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 06/21] cfi: Switch to -fsanitize=kcfi Message-ID: References: <20220429203644.2868448-1-samitolvanen@google.com> <20220429203644.2868448-7-samitolvanen@google.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220429203644.2868448-7-samitolvanen@google.com> On Fri, Apr 29, 2022 at 01:36:29PM -0700, Sami Tolvanen wrote: > +CC_FLAGS_CFI := -fsanitize=kcfi -fno-sanitize-blacklist I'm somewhat surprised to see CFI is a sanitizer. It just doesn't seem to fit in the line of {UB,KC,KA}SAN and friends.