All of lore.kernel.org
 help / color / mirror / Atom feed
* inherit TAINT_PROPRIETARY_MODULE
@ 2020-07-29  6:27 Christoph Hellwig
  2020-07-29  6:27 ` [PATCH 1/7] modules: mark ref_module static Christoph Hellwig
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Christoph Hellwig @ 2020-07-29  6:27 UTC (permalink / raw)
  To: Jessica Yu; +Cc: Greg Kroah-Hartman, open list

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@fb.com/T/#md514322fdfa212afe9f1d3eb4e5f7eaefece36eb

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-07-29 17:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  6:27 inherit TAINT_PROPRIETARY_MODULE Christoph Hellwig
2020-07-29  6:27 ` [PATCH 1/7] modules: mark ref_module static Christoph Hellwig
2020-07-29  6:27 ` [PATCH 2/7] modules: mark find_symbol static Christoph Hellwig
2020-07-29 16:13   ` Jessica Yu
2020-07-29 16:24     ` Greg Kroah-Hartman
2020-07-29 17:06       ` Christoph Hellwig
2020-07-29 17:25       ` Joe Lawrence
2020-07-29  6:27 ` [PATCH 3/7] modules: mark each_symbol_section static Christoph Hellwig
2020-07-29  6:27 ` [PATCH 4/7] modules: unexport __module_text_address Christoph Hellwig
2020-07-29  6:27 ` [PATCH 5/7] modules: unexport __module_address Christoph Hellwig
2020-07-29  6:27 ` [PATCH 6/7] modules: return licensing information from find_symbol Christoph Hellwig
2020-07-29 16:48   ` Jessica Yu
2020-07-29 17:06     ` Christoph Hellwig
2020-07-29  6:27 ` [PATCH 7/7] modules: inherit TAINT_PROPRIETARY_MODULE Christoph Hellwig
2020-07-29  6:55   ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.