Files
kernel_samsung_a71/include/linux
Christoph Hellwig 4f37cb5a61 modules: inherit TAINT_PROPRIETARY_MODULE
commit 262e6ae7081df304fc625cf368d5c2cbba2bb991 upstream.

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 :)"

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-22 10:57:24 +02:00
..
2019-12-17 20:39:59 +01:00
2018-02-22 15:42:23 +01:00
2018-08-03 07:50:38 +02:00
2021-02-10 09:12:08 +01:00
2019-11-24 08:22:48 +01:00
2021-01-30 13:31:17 +01:00
2020-04-02 16:34:21 +02:00
2018-02-22 15:42:24 +01:00
2019-12-17 20:38:50 +01:00
2021-03-03 18:22:46 +01:00
2021-02-07 14:47:41 +01:00
2017-09-07 11:53:11 +02:00
2019-12-31 12:37:21 +01:00
2020-07-29 07:42:55 +02:00
2018-02-22 15:42:23 +01:00
2017-09-25 08:56:05 -06:00
2020-11-18 18:28:00 +01:00
2020-03-20 10:54:12 +01:00
2019-06-11 12:21:48 +02:00
2020-04-24 08:00:38 +02:00
2020-04-02 16:34:36 +02:00
2018-11-13 11:15:11 -08:00
2020-12-11 13:39:04 +01:00
2020-04-02 16:34:36 +02:00