Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3541605iob; Sat, 7 May 2022 07:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbqYoJ1nXGP2oxYC0OhHPn/7jm/6DKGxlkGzqDx0SeTt7aZTJKRf9kJfnxPZ1L9/jFlBoN X-Received: by 2002:a17:90b:4ad1:b0:1dc:96fa:69aa with SMTP id mh17-20020a17090b4ad100b001dc96fa69aamr17945457pjb.189.1651934813538; Sat, 07 May 2022 07:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651934813; cv=none; d=google.com; s=arc-20160816; b=06eeAkXNdVb2JRIqNSj/e8H9dkazaDyUtqPYGHwC43mfPnBGu0fP8Yc1zyYktRcFDf Z0QKxXxPirqlvnt7Ll7CwhWgJy4dVVKCZF2Qz7WofzUZGquQSsnlaYCUM8rC0p+zyrhz Z8k02stg1+bxQUrzuQZmCe/h5BhO6y3gV6FwdG8M3KGjrVNIDem+KYqnIs6QMlQao+bj /PzsZtQQVkyhA7yxQPc6uZPa6IP5PjMZrjG/ggf8vMUJpVBhOeBry6xhpZwXGnDHGpnb sHwS+Y7LSqoDlx+GDE6jt60qqwi3hFlwhCd9ABFzJgraOue3Sm1dQ5nHSxbkoC5NqTKc zitQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=L2Nr2rp8ssNcRW42d9Gq12BUUaZOZmlKJV3eYorOjKk=; b=EXYvcwxOGkKQLpdhYK26sQmyn06ByqXQf8A2hg8znEGGp/vuyKnNsY6CEZctLS4DKO OlHrix//bPKmyoSYMVmgqv5iuXTFjog9HBzAD/rfu0ox3ZrZUYKR6RHRd60K+lrdbqLV 8KJN9QoPJxnh6nL9x9HLYzeV0EPdq5J39hG9Iy2zYJZao/MXbP92e+oVHorclLMV6qkh wiOx3S2h8upWk404lN+rJ/oXuiqcALhu1y0ljwRhLguni8R5r03X5q1CGBoMhKEoBOFV EC1vLNTfC9heaFRN/jNSkkjtrLD06nHNrali6Cd3o6H9OdlPkmtgx6ehSuvfgSQoygl0 6R3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ixIpy0yI; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 144-20020a621896000000b0050d2398a2b9si7375094pfy.221.2022.05.07.07.46.37; Sat, 07 May 2022 07:46: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=@kernel.org header.s=k20201202 header.b=ixIpy0yI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443132AbiEFUjR (ORCPT + 99 others); Fri, 6 May 2022 16:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443128AbiEFUjG (ORCPT ); Fri, 6 May 2022 16:39:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C984B2AD; Fri, 6 May 2022 13:35:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A8A8C60AF6; Fri, 6 May 2022 20:35:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6A25C385A9; Fri, 6 May 2022 20:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651869320; bh=S2VlxsKlNheP/UaljF4jK7i69JWNXtFiU1ZWtep/VvM=; h=From:To:Cc:Subject:Date:From; b=ixIpy0yI+Knnbo5XqC13m/OPL0fJ+UK5oFisnjQWarBYeyI4STVtAaSI/K6q9qY6r RlZq6HL3qzTFcA5qBRU6/ebWZLXpOYDM8BjroQj0Q64/fu9dbQujWndT7ZKC1nSZqj LdRQCFIVBm13N9oJNa/osmgaA2iDMvTaeKck/mZUU5pcD+GYiN0d//6aXmpNR4InxI x/0a/2JTllqzfBng0Y5wIej51LvYUQr+TXNc3linvBH9dzyIAAfbeR/abUXfBOAnWM 6O9B8yEu7bj9+jGcQpRZfDr1c0Wc0y6/CFmbv3fdhHb/l7y8rNPu4NR6564FcXsoq6 1b2ATuR2JdTWA== From: Miguel Ojeda To: Adrian Hunter , Alex Gaynor , Andi Kleen , Andrew Morton , Arnaldo Carvalho de Melo , Bixuan Cui , Boqun Feng , Changbin Du , Christophe Leroy , David Vernet , Gary Guo , "Gustavo A. R. Silva" , Ingo Molnar , Jiri Kosina , Jiri Olsa , Josh Poimboeuf , Kees Cook , Kefeng Wang , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, live-patching@vger.kernel.org, Miguel Ojeda , Miroslav Benes , Nick Desaulniers , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Stephen Boyd , Wedson Almeida Filho Cc: rust-for-linux@vger.kernel.org Subject: [PATCH v2 0/3] kallsyms: Rust requirements Date: Fri, 6 May 2022 22:34:21 +0200 Message-Id: <20220506203443.24721-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 These are the kallsyms patches we carry on the Rust patch series as prerequisites. We were requested to submit them independently, so here they are! - The first one is an improvement that may be applied even without the big symbol support. - The second adds support for "big" symbols without actually increasing the limit. - The third performs the actual increase. Thanks! Boqun Feng (1): kallsyms: avoid hardcoding the buffer size Miguel Ojeda (2): kallsyms: support "big" kernel symbols kallsyms: increase maximum kernel symbol length to 512 include/linux/kallsyms.h | 2 +- kernel/kallsyms.c | 26 +++++++++++++--- kernel/livepatch/core.c | 4 +-- scripts/kallsyms.c | 47 ++++++++++++++++++++++++----- tools/include/linux/kallsyms.h | 2 +- tools/lib/perf/include/perf/event.h | 2 +- tools/lib/symbol/kallsyms.h | 2 +- 7 files changed, 68 insertions(+), 17 deletions(-) base-commit: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a -- 2.35.3