inherit TAINT_PROPRIETARY_MODULE v2

From: Christoph Hellwig
Date: Thu Jul 30 2020 - 02:10:44 EST


Hi Jessica,

we've had a bug in our resolution of _GPL modules since day one, that
is a module can claim to be GPL licensed and use _GPL exports, while
it also depends on symbols from non-GPL modules. This is used as a
circumvention of the _GPL exports by using a small shim module using
the _GPL exports and the other functionality. A recent example can
be found here:

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

Changes since v1:
- standardize on one spelling of "license"
- fix a commit message type

Diffstat:
include/linux/module.h | 26 +++-----------------------
kernel/module.c | 46 +++++++++++++++++++++++++++++-----------------
2 files changed, 32 insertions(+), 40 deletions(-)