]> git.baikalelectronics.ru Git - kernel.git/commit
module: Move strict rwx support to a separate file
authorAaron Tomlin <atomlin@redhat.com>
Tue, 22 Mar 2022 14:03:36 +0000 (14:03 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 5 Apr 2022 15:43:04 +0000 (08:43 -0700)
commit853fc0089b261517deaca79b2b1de0a36561fbd9
tree00846fb4ea33ae6406bd38232a1d77e08c8290f8
parent2bda2fc8cd5fabbb9c3dcfc6d257daab2f7ddb0e
module: Move strict rwx support to a separate file

No functional change.

This patch migrates code that makes module text
and rodata memory read-only and non-text memory
non-executable from core module code into
kernel/module/strict_rwx.c.

Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/Makefile
kernel/module/internal.h
kernel/module/main.c
kernel/module/strict_rwx.c [new file with mode: 0644]