]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jun 2020 19:31:16 +0000 (12:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jun 2020 19:31:16 +0000 (12:31 -0700)
commit5ca286502259801b74358c2f54a106f7741b0ce3
tree19c9a7b1aaef221f0e3d2116b76e8240102f53b7
parentef8f1ad4c8bbe16e9c64e4aa1850c601c884ce27
parent238a322ea590dda34a4f4e59dac1179e4a7f8792
Merge tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux

Pull module updates from Jessica Yu:

 - Harden CONFIG_STRICT_MODULE_RWX by rejecting any module that has
   SHF_WRITE|SHF_EXECINSTR sections

 - Remove and clean up nested #ifdefs, as it makes code hard to read

* tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
  module: Harden STRICT_MODULE_RWX
  module: break nested ARCH_HAS_STRICT_MODULE_RWX and STRICT_MODULE_RWX #ifdefs
kernel/module.c