• Linus Torvalds's avatar
    Merge tag 'modules-for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 0fd9cc6b
    Linus Torvalds authored
    Pull module updates from Jessica Yu:
     "The most important change would be Christoph Hellwig's patch
      implementing proprietary taint inheritance, in an effort to discourage
      the creation of GPL "shim" modules that interface between GPL symbols
      and proprietary symbols.
    
      Summary:
    
       - Have modules that use symbols from proprietary modules inherit the
         TAINT_PROPRIETARY_MODULE taint, in an effort to prevent GPL shim
         modules that are used to circumvent _GPL exports. These are modules
         that claim to be GPL licensed while also using symbols from
         proprietary modules. Such modules will be rejected while non-GPL
         modules will inherit the proprietary taint.
    
       - Module export space cleanup. Unexport symbols that are unused
         outside of module.c or otherwise used in only built-in code"
    
    * tag 'modules-for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
      modules: inherit TAINT_PROPRIETARY_MODULE
      modules: return licensing information from find_symbol
      modules: rename the licence field in struct symsearch to license
      modules: unexport __module_address
      modules: unexport __module_text_address
      modules: mark each_symbol_section static
      modules: mark find_symbol static
      modules: mark ref_module static
      modules: linux/moduleparam.h: drop duplicated word in a comment
    0fd9cc6b
module.c 117 KB