inherit TAINT_PROPRIETARY_MODULE

From: Christoph Hellwig
Date: Wed Jul 29 2020 - 02:27:16 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

Diffstat:
include/linux/module.h | 24 ++----------------------
kernel/module.c | 42 +++++++++++++++++++++++++++---------------
2 files changed, 29 insertions(+), 37 deletions(-)