[GIT PULL] Modules updates for v5.9

From: Jessica Yu
Date: Fri Aug 14 2020 - 06:17:20 EST


Hi Linus,

Please pull below to receive modules updates for the v5.9 merge window.
The most important change would be Christoph Hellwig's patch implementing
proprietary taint inheritance, in an effort to discourage the creation of
GPL "shim" modules that interface between GPL symbols and proprietary
symbols. A recent example cited from the discussion can be found here:

https://lore.kernel.org/netdev/6376CA34-BC6F-45DE-9FFD-7E32664C7569@xxxxxx/T/#md514322fdfa212afe9f1d3eb4e5f7eaefece36eb

Thank you,

Jessica
--
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git tags/modules-for-v5.9

for you to fetch changes up to 262e6ae7081df304fc625cf368d5c2cbba2bb991:

modules: inherit TAINT_PROPRIETARY_MODULE (2020-08-05 10:31:28 +0200)

----------------------------------------------------------------
Modules updates for v5.9

Summary of modules changes for the 5.9 merge window:

- Have modules that use symbols from proprietary modules inherit the
TAINT_PROPRIETARY_MODULE taint, in an effort to prevent GPL shim modules that
are used to circumvent _GPL exports. These are modules that claim to be GPL
licensed while also using symbols from proprietary modules. Such modules will
be rejected while non-GPL modules will inherit the proprietary taint.

- Module export space cleanup. Unexport symbols that are unused outside of
module.c or otherwise used in only built-in code.

Signed-off-by: Jessica Yu <jeyu@xxxxxxxxxx>

----------------------------------------------------------------
Christoph Hellwig (8):
modules: mark ref_module static
modules: mark find_symbol static
modules: mark each_symbol_section static
modules: unexport __module_text_address
modules: unexport __module_address
modules: rename the licence field in struct symsearch to license
modules: return licensing information from find_symbol
modules: inherit TAINT_PROPRIETARY_MODULE

Randy Dunlap (1):
modules: linux/moduleparam.h: drop duplicated word in a comment

include/linux/module.h | 26 +++-----------------
include/linux/moduleparam.h | 2 +-
kernel/module.c | 60 ++++++++++++++++++++++++++++++++-------------
3 files changed, 47 insertions(+), 41 deletions(-)