Re: [PATCH 7/7] modules: inherit TAINT_PROPRIETARY_MODULE

2020-07-28 Thread Greg Kroah-Hartman
On Wed, Jul 29, 2020 at 08:27:11AM +0200, Christoph Hellwig wrote: > If a TAINT_PROPRIETARY_MODULE exports symbol, inherit the tain flag s/tain/taint/ > for all modules importing these symbols, and don't allow loading > symbols from TAINT_PROPRIETARY_MODULE modules if the module previously > impo

[PATCH 7/7] modules: inherit TAINT_PROPRIETARY_MODULE

2020-07-28 Thread Christoph Hellwig
If a TAINT_PROPRIETARY_MODULE exports symbol, inherit the tain 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 th