[PATCH v4 00/16] Extended MODVERSIONS Support

Matthew Maurer posted 16 patches 2 months ago
There is a newer version of this series
arch/powerpc/kernel/module_64.c |  24 +-
kernel/module/internal.h        |  18 +-
kernel/module/main.c            | 647 ++++++++++++++++++++++++--------
kernel/module/version.c         |  43 +++
scripts/export_report.pl        |  17 +-
scripts/mod/modpost.c           |  39 +-
6 files changed, 627 insertions(+), 161 deletions(-)
[PATCH v4 00/16] Extended MODVERSIONS Support
Posted by Matthew Maurer 2 months ago
The overall intent of this patchset is to support long symbol names in
MODVERSIONS, needed for Rust support and some LTO contexts.

Only update here is to fix the PPC dot munging code since I haven't
heard anything else back yet. My understanding is that I primarily need
feedback from Luis based on his response to the original series [1] and
response [2] to the hash approach.

Full context is available in the previous cover letter [3].

[1] https://lore.kernel.org/lkml/ZVZNh%2FPA5HiVRkeb@bombadil.infradead.org/
[2] https://lore.kernel.org/lkml/ZoxbEEsK40ASi1cY@bombadil.infradead.org/
[3] https://lore.kernel.org/lkml/87le0w2hop.fsf@mail.lhotse/T/

Matthew Maurer (16):
  module: Take const arg in validate_section_offset
  module: Factor out elf_validity_ehdr
  module: Factor out elf_validity_cache_sechdrs
  module: Factor out elf_validity_cache_secstrings
  module: Factor out elf_validity_cache_index_info
  module: Factor out elf_validity_cache_index_mod
  module: Factor out elf_validity_cache_index_sym
  module: Factor out elf_validity_cache_index_str
  module: Group section index calculations together
  module: Factor out elf_validity_cache_strtab
  module: Additional validation in elf_validity_cache_strtab
  module: Reformat struct for code style
  export_report: Rehabilitate script
  modules: Support extended MODVERSIONS info
  modpost: Produce extended modversion information
  export_report: Use new version info format

 arch/powerpc/kernel/module_64.c |  24 +-
 kernel/module/internal.h        |  18 +-
 kernel/module/main.c            | 647 ++++++++++++++++++++++++--------
 kernel/module/version.c         |  43 +++
 scripts/export_report.pl        |  17 +-
 scripts/mod/modpost.c           |  39 +-
 6 files changed, 627 insertions(+), 161 deletions(-)

-- 
2.46.1.824.gd892dcdcdd-goog