Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp846811pxv; Wed, 14 Jul 2021 17:21:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoxgxODQiReGpA2mpEw6dJj7kIfRoj1ifrYamp1xB05ePHXsl+hJFDweAwycxnnOz4st91 X-Received: by 2002:a05:6e02:b24:: with SMTP id e4mr338336ilu.41.1626308489977; Wed, 14 Jul 2021 17:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626308489; cv=none; d=google.com; s=arc-20160816; b=Z4cVJpNNOpLpWkUKG8tv6YOJdAxFAwxGMvHPcU6pOcbfax9EPMs/MrHJ9JJF1zPJcR kJW+axbOy0/gDKaWldEPezlGqekuZoHlM/LJ7bgdTnA1ifiNeUV1+U8N8vR5eq8iuo/V 5tc6/zxf+8++PXVUr17WNkTpB5SjSkBDL2AAdIiiQnYU0PLOx0CVpU2kImaLrgZoYXm2 jAieKTCwUTAJd1uvRDhk4wml+DZMRPHLPeEEEQW5Co5f6MnLy5HXPzgx9GIUEbn6CiL/ /3d5+viYOADsTPbc7IsRSPFux1bcDcCHAPRfJ41JOKFgG8t9AZ/bQiDkbsdRAgpRuNGW 4LNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XF9g4Kiw/Fnjhra0A3NHssg/L+MsgY/bbhNOhs2yWkg=; b=ylC1Cb+rSVYphY/OzGa5fWiG214kL+ToqEk/Ib437hV283sc3dFtdo7bg9wjrxhwC1 5iJb2qqWYptg5UvtHMcDY8Bt3vb9dRf8zQaKmknQh047Hk2NLaFxEZ0ry8mu6gmPIvtS W8JBd9mVqq9vkfvy33pmdb5bRaDrsAZAOSDtEmxA13uP7XjPXp3Sbj4JVR2dXipNApOD 3Xr1WSVPX21j516i3CGjZJWzEdisUQJA/jIhRUeCC0GCkLx6cTb8N4/zd3mtULggTZ+S onGARZ6PTYpVfm5dzROh6/lEv7TmXClQnjLFxOtMbO5ojw0NHPtODiWUB+JtP3p3j94c LYFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XwnAiopx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si446673ilg.44.2021.07.14.17.21.18; Wed, 14 Jul 2021 17:21:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XwnAiopx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236870AbhGNWn0 (ORCPT + 99 others); Wed, 14 Jul 2021 18:43:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236492AbhGNWnY (ORCPT ); Wed, 14 Jul 2021 18:43:24 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8299AC06175F for ; Wed, 14 Jul 2021 15:40:31 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id q4so5716536ljp.13 for ; Wed, 14 Jul 2021 15:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XF9g4Kiw/Fnjhra0A3NHssg/L+MsgY/bbhNOhs2yWkg=; b=XwnAiopxVuee/+xvAawo1KbGDlP9AIOqV52u6nh+zQy7X8YyvYLVsIWrsG5z4hsAZo Us04RZB8+P1gHRtT9c5f7srdMs0z/wnINhl02yV17re/Cvj3nskjZ10AhDcDnZq6QQVD AjLwXMP+HKQ5AC55ituGLykCuW4g6U7vxsBmc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XF9g4Kiw/Fnjhra0A3NHssg/L+MsgY/bbhNOhs2yWkg=; b=iaBjsUUynBqXqBQP8D1SQ4LvIHChWfOqwkauPDMRxO+Tt0jM14SNFNZSNg+gcB6Apt wxfp4CBmvlVxCh86K558dCplUptpg4kImaRVtEK1F/M8tuAbg/hwKf+qPAkBqbJXt6+p 0D0HkI8WwUN/jhOFpI3S6WtcY5PptA4BEPiwFG7lMWSD027GtWnjmlLHcdjI/OYYSro7 ebj2rsyYvxiSUasDex14SVKxgffs2bpLraQLFh3AHv14VEJU9VntFzPYS6Xke+G4mJ0m kZ6PeG/Zt72XhHMWLiZIiQpENJVepVGTNQbtJhBp6XL+oGT40yLWY38bvQax6fo1Wuno kNcA== X-Gm-Message-State: AOAM530SeeL+j3NgnxQQzeGDetgwNER57XVJwPflsLeCFiRF16t/c7UA 2LE8V86Ghj4jQ12KicBPUADSTLMw7nHptjaV X-Received: by 2002:a2e:a22c:: with SMTP id i12mr141472ljm.267.1626302428870; Wed, 14 Jul 2021 15:40:28 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id h10sm251611lfp.151.2021.07.14.15.40.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jul 2021 15:40:28 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id a12so6334108lfb.7 for ; Wed, 14 Jul 2021 15:40:28 -0700 (PDT) X-Received: by 2002:a05:6512:3f82:: with SMTP id x2mr265721lfa.421.1626302428152; Wed, 14 Jul 2021 15:40:28 -0700 (PDT) MIME-Version: 1.0 References: <20210704202756.29107-1-ojeda@kernel.org> <20210704202756.29107-3-ojeda@kernel.org> <87mtqo1wv6.fsf@disp2133> <87a6mo1v0q.fsf@disp2133> In-Reply-To: <87a6mo1v0q.fsf@disp2133> From: Linus Torvalds Date: Wed, 14 Jul 2021 15:40:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/17] kallsyms: increase maximum kernel symbol length to 512 To: "Eric W. Biederman" Cc: Nick Desaulniers , Miguel Ojeda , Greg Kroah-Hartman , rust-for-linux , Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 1:49 PM Eric W. Biederman wrote: > > Sorry I was meaning to ask should the C symbols that get hashed > include their types in the hash as well? Because if everything > is going to be hashed we need to clear definition of what we do > with good old C symbols as well. Oh, I guess if we wanted to be fancy, we could make the modversion information be part of the hash. Because we already have that, and that's kind of what it is. But I wasn't actually thinking that fancy - I'd leave the C hash as just the name hash with no type info. Unless somebody really wants to do that modversions thing. It *would* be a very natural thing to do in that "link using hashes" world view.. Linus