|
|
Log in / Subscribe / Register

kallsyms: Rust requirements

From:  Miguel Ojeda <ojeda-AT-kernel.org>
To:  Adrian Hunter <adrian.hunter-AT-intel.com>, Alexander Shishkin <alexander.shishkin-AT-linux.intel.com>, Alexei Starovoitov <ast-AT-kernel.org>, Andi Kleen <ak-AT-linux.intel.com>, Andrew Morton <akpm-AT-linux-foundation.org>, Arnaldo Carvalho de Melo <acme-AT-kernel.org>, Changbin Du <changbin.du-AT-intel.com>, Christophe Leroy <christophe.leroy-AT-csgroup.eu>, David Vernet <void-AT-manifault.com>, "Gustavo A. R. Silva" <gustavoars-AT-kernel.org>, Ingo Molnar <mingo-AT-redhat.com>, Jiri Kosina <jikos-AT-kernel.org>, Jiri Olsa <jolsa-AT-kernel.org>, Josh Poimboeuf <jpoimboe-AT-redhat.com>, Kees Cook <keescook-AT-chromium.org>, Kefeng Wang <wangkefeng.wang-AT-huawei.com>, linux-kernel-AT-vger.kernel.org, linux-perf-users-AT-vger.kernel.org, live-patching-AT-vger.kernel.org, Masahiro Yamada <masahiroy-AT-kernel.org>, Miroslav Benes <mbenes-AT-suse.cz>, Nathan Chancellor <nathan-AT-kernel.org>, Nick Desaulniers <ndesaulniers-AT-google.com>, Peter Zijlstra <peterz-AT-infradead.org>, Petr Mladek <pmladek-AT-suse.com>, Sergey Senozhatsky <senozhatsky-AT-chromium.org>, Stephen Boyd <swboyd-AT-chromium.org>
Subject:  [PATCH v1 0/3] kallsyms: Rust requirements
Date:  Thu, 05 May 2022 21:16:42 +0200
Message-ID:  <20220505191704.22812-1-ojeda@kernel.org>
Cc:  rust-for-linux-AT-vger.kernel.org, Miguel Ojeda <ojeda-AT-kernel.org>
Archive-link:  Article

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



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds