Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2503815iob; Sun, 15 May 2022 22:20:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjrAk9ruIQWCHTaK6rrySXQpwtVaLUquhD2kJVhcy3s0gmM8qrWzc1MBv37dy1qeptRAH3 X-Received: by 2002:a05:6000:154a:b0:20c:7e65:c79e with SMTP id 10-20020a056000154a00b0020c7e65c79emr12767134wry.582.1652678453728; Sun, 15 May 2022 22:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652678453; cv=none; d=google.com; s=arc-20160816; b=LNrpwUQOAs22w5QDuHadSumOQdgP0qYwRQjp0t/gJaqtvFTgIShWQA9fxMzAyo451w HV0LZPp4qLCqPB5bcUQndmMKpTnKaDixRne3eKQtrgbAro2PVwN0TnBUuF3+HsxDsNr2 5uKhvt4GbRaBq2/1a4z6MWAbEwP+1DgXH8JzmJWW0OF1tIlmdUkicZdhzH8YIuf9Y0sk MtqNaLvBqP6Wk9pKVxm6Y6R8UKmbNpP4y2xvGkRKaK5RKB2JRtH1qDuItHxg4UTGJF9d IwRLTCIVkqn/zPiMTUtl46KTP3+agpKy566pUXWGB5wmIoGthQxlvDQhZyMKAhcd0iZw bTHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bWmtBNTQalwT7E03B5wIEDiQ0eZQlPfefe0AXNq0tgc=; b=grkqPv8QsNB8/ccAJUh3fjSScVG7Qs9COrG8ZIAGMHtZG0BqMBEOGdZ48Gtz0fOhBc HjKbpNaE5rMQDOygsVEFCKr03sNBv3PpNU2vNPrTb1u0fn+e4TzeIUJtGDkChvh9hg+R voTMeXeYHtgirZQ36JSaintU3nObfRxpZ6ncZL5zfWv1dQCprQglopOmQdfPGp5aupQl 9MgXZRllqpKTMOaQAREQ01eiZ5wHFWYO9nkWZD0SyJWOWbB8lMhS7PHgNWLs97jbgTMR MGvmuB5dBAUmPdlYvxH3fSgK5kdGJJm14U51AzHePnlUDtkR1syUMa08Pa8W7F0c5wZ6 nIqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lodgp0da; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020a7bcf31000000b003940e4c9461si8857214wmg.26.2022.05.15.22.20.27; Sun, 15 May 2022 22:20:53 -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; dkim=pass header.i=@chromium.org header.s=google header.b=lodgp0da; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229911AbiENV5W (ORCPT + 99 others); Sat, 14 May 2022 17:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiENV5G (ORCPT ); Sat, 14 May 2022 17:57:06 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA2AC31934 for ; Sat, 14 May 2022 14:57:05 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id k16so3983080pff.5 for ; Sat, 14 May 2022 14:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bWmtBNTQalwT7E03B5wIEDiQ0eZQlPfefe0AXNq0tgc=; b=lodgp0daVjVAFrVuduK9x3FpGkyMWCC/6YW39rpLvhxCOkWvY4zZ/6+5Rv7fAL8Bn/ fHdhIT+p7EljVcAqr24MkzageKig7La0PwlLxPvIxxezTK3uZxeoKWeTm3kcQ64tnVka rBDBytXX4Vo/T+/xsB2V/f2H87aTVSxZPsySs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bWmtBNTQalwT7E03B5wIEDiQ0eZQlPfefe0AXNq0tgc=; b=VFb8xrGF1m6i3RHBNBlY6MNnJpEldnKWODrQkmlo8fcJpIuqEyWgGdXdn0aQo9vg1T vvkwNVfOkLzN9AhIkZOrrLw/Z5pas54sUbf+zKPtihyJBmvbL5vGf00DFaIbSOR/4Xzf MSnwdOHTIGot4EEJ57k9+B0klHUJRCNpS3rtY+Zj192I58dNUdSo0kG3S1NBswStbW7i JfAgzzpHv/47V49PjSV+HRqmQZ+zwaCqrr0E2szUXDXhTanc9zoBKKvqCbMkkyiRiha4 FVHlEccDhPPhEsocmWzWLNtE5rPm7zZzTcPRD0Jnt3kpUTpswsAbTNyM+vv1uoaotHkk nl0A== X-Gm-Message-State: AOAM5332WBn47cbdW7tTOCdRVnI27K6qzzYcz9Hsj/n2juPwAyJdub07 OhBI7W+9uFjK+k2BzDe7IcRg7A== X-Received: by 2002:a63:181c:0:b0:3da:fe5d:90f3 with SMTP id y28-20020a63181c000000b003dafe5d90f3mr9379364pgl.350.1652565424600; Sat, 14 May 2022 14:57:04 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id fv7-20020a17090b0e8700b001cd4989fecfsm5696349pjb.27.2022.05.14.14.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:57:04 -0700 (PDT) Date: Sat, 14 May 2022 14:57:03 -0700 From: Kees Cook To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , 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 v2 16/21] x86/tools/relocs: Ignore __kcfi_typeid_ relocations Message-ID: <202205141457.6BDD89F@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-17-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513202159.1550547-17-samitolvanen@google.com> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri, May 13, 2022 at 01:21:54PM -0700, Sami Tolvanen wrote: > Ignore __kcfi_typeid_ symbols. These are compiler-generated constants > that contain CFI type identifiers. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook