diff options
| author | 2022-03-22 14:03:36 +0000 | |
|---|---|---|
| committer | 2022-04-05 08:43:04 -0700 | |
| commit | b33465fe9c52a3719f013deeca261bd82af235ee (patch) | |
| tree | 00846fb4ea33ae6406bd38232a1d77e08c8290f8 /kernel/module/Makefile | |
| parent | module: Move latched RB-tree support to a separate file (diff) | |
| download | linux-dev-b33465fe9c52a3719f013deeca261bd82af235ee.tar.xz linux-dev-b33465fe9c52a3719f013deeca261bd82af235ee.zip | |
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>
Diffstat (limited to 'kernel/module/Makefile')
| -rw-r--r-- | kernel/module/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/module/Makefile b/kernel/module/Makefile index 88774e386276..d313c8472cb3 100644 --- a/kernel/module/Makefile +++ b/kernel/module/Makefile @@ -12,3 +12,4 @@ obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o obj-$(CONFIG_MODULE_SIG) += signing.o obj-$(CONFIG_LIVEPATCH) += livepatch.o obj-$(CONFIG_MODULES_TREE_LOOKUP) += tree_lookup.o +obj-$(CONFIG_STRICT_MODULE_RWX) += strict_rwx.o |
