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 7F8B0C4332F for ; Sat, 14 May 2022 21:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232476AbiENV5X (ORCPT ); Sat, 14 May 2022 17:57:23 -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-Google-Smtp-Source: ABdhPJwk0yE4XXGUlIDZlCRDV6CQzbYKn//JmrGMHGihO2a3kta7JYbfAvpqhpWeoOwljf3XaDTA3A== 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> 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