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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 421F4C4332F for ; Tue, 18 Oct 2022 15:58:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbiJRP6u (ORCPT ); Tue, 18 Oct 2022 11:58:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbiJRP6k (ORCPT ); Tue, 18 Oct 2022 11:58:40 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A90FAC823F for ; Tue, 18 Oct 2022 08:58:30 -0700 (PDT) Received: (Authenticated sender: joao@overdrivepizza.com) by mail.gandi.net (Postfix) with ESMTPA id 3802F20003; Tue, 18 Oct 2022 15:58:24 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 18 Oct 2022 08:58:24 -0700 From: Joao Moreira To: David Laight Cc: 'Peter Zijlstra' , x86@kernel.org, Kees Cook , Sami Tolvanen , linux-kernel@vger.kernel.org, Mark Rutland , Josh Poimboeuf Subject: Re: [PATCH] x86/ibt: Implement FineIBT In-Reply-To: <9bb036e48580454b81e6de7224c5f006@AcuMS.aculab.com> References: <9bb036e48580454b81e6de7224c5f006@AcuMS.aculab.com> Message-ID: <3edb387ea335085dcb6dd49f1d9c9ce6@overdrivepizza.com> X-Sender: joao@overdrivepizza.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Does the hash value for kCFI only depend on the function type? > Or is there something like a attribute that can also be included? Hi David -- does this sound like what you are asking about? https://github.com/ClangBuiltLinux/linux/issues/1736 If yes, then it is something in our todo list :) I think Sami is handling it.