Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6219536rwi; Tue, 18 Oct 2022 09:30:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4E5OwWVFlaVp4svdRQZBVcXb8a/iTOQWLD+m6FIqCYVw68n4mBUMfNRte+S0bQURMIim60 X-Received: by 2002:a17:907:3d91:b0:78e:11cc:3bc7 with SMTP id he17-20020a1709073d9100b0078e11cc3bc7mr3163637ejc.655.1666110612654; Tue, 18 Oct 2022 09:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666110612; cv=none; d=google.com; s=arc-20160816; b=YLK6IawR8OGJfGOAN8/ZJ3KqoYXwhDOmVuvvAHSmZEeheeDMMa3yZlsFKaeBFUE7RQ 05oIMgkaOa92E4xbCNPknnW5DZ3Ibs96vh3fMIoGALu8o4Yu6ZQJOJ6aiGaNNsIFVU3I oIGGuvDBUrXXX6VdcibKJ4fCxxMtmpiph/Xmar9PdIWDH3zbS0Ll8zaxIsNkd93kdmCy cRhWSL4OattezfYOp4z2BMgcDSIydlVyLAid8ynEd9oWv7+7uzChjRX4wesC/UGdti+B 6ZFuGssxYzrBl17jKcl1GdyHV6eu1OjilNCIeoQvC412wBLOCIR6iUSQTdxyvI3itTza eogg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version; bh=TCAQIrT6hp3HuDUP97eZUZj4pVHjTW1kvv/yofsreQg=; b=d+g7N8fA8pZgvm5Fs2eNQQctXJDTm1hRHzMDN9j6GcJYR2CPkubpnmZicu5iy3MCY/ u+H/vu3aDA9Lc5xiWNtXNxzX2eTrZ9ztKZlV04LNyL37c5C7Ow6NEZvB+IJsAsi9/GfS 9gzLUU2mIe8FRoMRSWCnfEoqDTag18lKbOS3ZKYk+/FHwXhqgXm5wLlq5B/gCji12DUm ORCsDM+FYBQmftZD5znUXfADUahLusbxsAVjuEQqSHn1o+yGLEqSn0g8zFrVKzXZxNnM 1an3Hgz+t2ReVJrhGmhm6XpSgms0cl+kXC9V30/PVQSjR25+t0w8tqnbpeZvFdCMffWf SPbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a1709064fc700b0078e1b5b5bb8si13999563ejw.120.2022.10.18.09.29.44; Tue, 18 Oct 2022 09:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230513AbiJRP6q (ORCPT + 99 others); Tue, 18 Oct 2022 11:58:46 -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 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.