From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92BE62F25 for ; Sat, 14 May 2022 21:43:04 +0000 (UTC) Received: by mail-pj1-f44.google.com with SMTP id c1-20020a17090a558100b001dca2694f23so10857844pji.3 for ; Sat, 14 May 2022 14:43:04 -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=YlRFKx1f5LgxGYiRBStshQO2lcl0shwRTsz4d5msIg8=; b=eVJvq+ghFVgsLl2S9H413dqQTj8DyyaMX5Lri0ldevwz5nr6Vcgdxe0+ij/LV+qfcg ng+ldMyJk1bq4BG01m2rz/bktU34wNy4ejseMuCe/8j4MBVXCDe6GfufyslHYCZreNjs zLCBvZKrj9tb+YOYdvXa5qk9tB4rwunj+IEIE= 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=YlRFKx1f5LgxGYiRBStshQO2lcl0shwRTsz4d5msIg8=; b=CwuRg1G30QkEiQY6HGd2H7WKuyFAtRtdi9NwevnO9yXa+u+S27hDrIAE5EnTU8Wqhz YQtGNwJiHmqGzXmBRzzikdtKYtR/ZCD/Aa26uirIszwu+BOnYIy03hdBknor6mL2ZA8u DiORTq/rbZDwIMtPte+Y4RVKKdwLXsNnklz0uNCd5UZZpmqMj8CM/Rg03IbqTT3UiK5/ AJeulWmWcYuUbvBh6eMUWcbKC0AHb+EcdYdiVIKrunvluTldpAXWoAksCpLIv6qAkq8q IxsrxydsZiazYBbfklKemgGFHkHB3vrCK7ZGFmTKvovliux68jFHTwnd9PvTNnhIJ5gL A/Xg== X-Gm-Message-State: AOAM5319HXW95gjx4I+9ZEE7usTANHsRtXyJoP4spX+xff7crwx64C8t 2AxjGYWLqi4HzvezPP3ongxZfg== X-Google-Smtp-Source: ABdhPJwjF7T387a9POXFRR70Tq2h4uk//J7YzYRByRcEsqcopbrDpy2LgsoIKFTW6B9DZ116TxnPTQ== X-Received: by 2002:a17:902:bcc6:b0:15e:e60e:f3e8 with SMTP id o6-20020a170902bcc600b0015ee60ef3e8mr10898049pls.174.1652564584093; Sat, 14 May 2022 14:43:04 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id io17-20020a17090312d100b0015f4b7a012bsm4078815plb.251.2022.05.14.14.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:43:03 -0700 (PDT) Date: Sat, 14 May 2022 14:43: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 03/21] kallsyms: Ignore __kcfi_typeid_ Message-ID: <202205141443.9A3BAEAA5F@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-4-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: <20220513202159.1550547-4-samitolvanen@google.com> On Fri, May 13, 2022 at 01:21:41PM -0700, Sami Tolvanen wrote: > The compiler generates CFI type identifier symbols for annotating > assembly functions at link time. Ignore them in kallsyms. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DC39C433F5 for ; Sat, 14 May 2022 21:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MiEn2YjQ8ZndLsFKSEdCV0kTh+ZOJr2i/ODMB2A3E3c=; b=u1JOxwiOYlxwTh DO1kLDVisFGpi4XfOFLFOP7MF3034wTaR8jM3F028v25I/bNjBf/SxeWn+viMokwDvccIpcFYElW4 jEXk+lvBWErNrFDYK8Wn52HdGeld7RIljWV//9DKQ6KNFqnC587Ofg1qu3yDn8SEPe/DCS9r+lGTH 19S6gKIWROVAmleIQs6oiv9t5tRUAxSgrQ9XPkrGd8V83zyO/fAtQHFDbz9/aklv00P2qKM75CbzK Rx1WuSEdESgOktZxeHQigFpCuuq6HKNknjGK2NiGzMy6TF7sxJFeAAUoHta2701ZL4G4Q78e7LNmn rX5UlEC/7JHK7xsuLhDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npzXY-002LA1-QI; Sat, 14 May 2022 21:43:08 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npzXV-002L9F-8F for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 21:43:06 +0000 Received: by mail-pl1-x62f.google.com with SMTP id q4so11078198plr.11 for ; Sat, 14 May 2022 14:43:04 -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=YlRFKx1f5LgxGYiRBStshQO2lcl0shwRTsz4d5msIg8=; b=eVJvq+ghFVgsLl2S9H413dqQTj8DyyaMX5Lri0ldevwz5nr6Vcgdxe0+ij/LV+qfcg ng+ldMyJk1bq4BG01m2rz/bktU34wNy4ejseMuCe/8j4MBVXCDe6GfufyslHYCZreNjs zLCBvZKrj9tb+YOYdvXa5qk9tB4rwunj+IEIE= 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=YlRFKx1f5LgxGYiRBStshQO2lcl0shwRTsz4d5msIg8=; b=vY41jX437/2jlDnsVASdUSSmg/kl3eN4EoWTo1fllNMTXWeJkw7swjRGRRi+jBKL7M +4QBD80/hhIsfXVtGi/7O3H4jIgpCHGmEfff/aHUCZPlo4b/h6SiDIcwX451y6g4nw7d TeSJZeAwHnRdvZOvYlcHLyWzzHXhrBQ0KNqKN4h4OWYk0zGbAU1LWYT0SiDbL66VN7Ff rU4gvcSo8p0pWgokQrZc2vIKdREPwAtcZqhX0VyEAIzOYn0fGKr6AT9IIkNr7VF1pktv zN1BDbQ+Iv3SUVjxwYRhMl88qVdDCjUCfmuvbQx+QmZNYyANVWzLNR7Vx4HXFwNFbp55 iDBg== X-Gm-Message-State: AOAM532eKmMfU5kzGJ8IDetaLQEjcVqnbtCL6MNQcHgYUzf2DcaaTaqe 3AoedPFu/P8/YBGPYSAS1miuXg== X-Google-Smtp-Source: ABdhPJwjF7T387a9POXFRR70Tq2h4uk//J7YzYRByRcEsqcopbrDpy2LgsoIKFTW6B9DZ116TxnPTQ== X-Received: by 2002:a17:902:bcc6:b0:15e:e60e:f3e8 with SMTP id o6-20020a170902bcc600b0015ee60ef3e8mr10898049pls.174.1652564584093; Sat, 14 May 2022 14:43:04 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id io17-20020a17090312d100b0015f4b7a012bsm4078815plb.251.2022.05.14.14.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:43:03 -0700 (PDT) Date: Sat, 14 May 2022 14:43: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 03/21] kallsyms: Ignore __kcfi_typeid_ Message-ID: <202205141443.9A3BAEAA5F@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-4-samitolvanen@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220513202159.1550547-4-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_144305_390555_8DDE98D7 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, May 13, 2022 at 01:21:41PM -0700, Sami Tolvanen wrote: > The compiler generates CFI type identifier symbols for annotating > assembly functions at link time. Ignore them in kallsyms. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel