Skip to contentSkip to conversation

Modules updates for v4.19

GIT PULL Jessica Yu 1 participant 1 message Aug 17, 2018

lore
Share & tools
lore

Jessica Yu

author
#0 lore raw

Linus,

Please pull below to receive modules updates for the 4.19 merge window. Details can be found in the signed tag.

Thanks,

Jessica

---
The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

are available in the Git repository at:

ssh://[email protected]/pub/scm/linux/kernel/git/jeyu/linux.git tags/modules-for-v4.19

for you to fetch changes up to 9be936f4b3a2ec101f54cff9cf1a6abf67263c50:

kernel/module: Use kmemdup to replace kmalloc+memcpy (2018-08-02 18:03:17 +0200)

----------------------------------------------------------------
Modules updates for v4.19

Summary of modules changes for the 4.19 merge window:

- Fix modules kallsyms for livepatch. Livepatch modules can have SHN_UNDEF symbols in their module symbol tables for later symbol resolution, but kallsyms shouldn't be returning these symbols

- Some code cleanups and minor reshuffling in load_module() were done to log the module name when module signature verification fails

----------------------------------------------------------------
Arnd Bergmann (1):
ARM: module: fix modsign build error

Jason A. Donenfeld (1):
module: print sensible error code

Jessica Yu (4):
module: exclude SHN_UNDEF symbols from kallsyms api
module: make it clear when we're handling the module copy in info->hdr
module: setup load info before module_sig_check()
modsign: log module name in the event of an error

Masahiro Yamada (1):
module: replace VMLINUX_SYMBOL_STR() with __stringify() or string literal

zhong jiang (1):
kernel/module: Use kmemdup to replace kmalloc+memcpy

arch/arm/include/asm/module.h |   1 +
include/linux/module.h        |   4 +-
kernel/module-internal.h      |  25 +++++++-
kernel/module.c               | 143 +++++++++++++++++++-----------------------
kernel/module_signing.c       |  12 ++--
5 files changed, 100 insertions(+), 85 deletions(-)