Files
kernel_arpi/kernel
Christoph Hellwig 35b560985b UPSTREAM: modules: inherit TAINT_PROPRIETARY_MODULE
If a TAINT_PROPRIETARY_MODULE exports symbol, inherit the taint flag
for all modules importing these symbols, and don't allow loading
symbols from TAINT_PROPRIETARY_MODULE modules if the module previously
imported gplonly symbols.  Add a anti-circumvention devices so people
don't accidentally get themselves into trouble this way.

Comment from Greg:
  "Ah, the proven-to-be-illegal "GPL Condom" defense :)"

Bug: 171277690
[jeyu: pr_info -> pr_err and pr_warn as per discussion]
Link: http://lore.kernel.org/r/20200730162957.GA22469@lst.de
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
(cherry picked from commit 262e6ae708)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id7c1af6bb8523bc39bda1efc661929d9ea0ccb20
2020-10-20 16:39:18 +02:00
..
2020-08-07 10:07:58 +02:00
2020-07-23 12:36:54 +02:00
2020-04-29 17:24:24 +02:00
2020-08-26 11:11:38 +02:00
2019-05-28 17:46:43 -04:00
2020-04-29 19:12:47 +02:00
2020-06-22 11:43:59 +02:00
2020-01-17 19:48:42 +01:00
2020-01-13 18:54:56 +00:00
2019-05-24 20:16:01 +02:00
2020-03-25 08:25:58 +01:00
2019-11-25 11:46:31 -08:00
2020-01-04 19:40:03 +01:00
2020-01-09 10:19:54 +01:00
2020-05-20 08:20:13 +02:00