linux/kernel/module
Christophe Leroy 32a08c17d8 module: Move module_enable_x() and frob_text() in strict_rwx.c
Move module_enable_x() together with module_enable_nx() and
module_enable_ro().

Those three functions are going together, they are all used
to set up the correct page flags on the different sections.

As module_enable_x() is used independently of
CONFIG_STRICT_MODULE_RWX, build strict_rwx.c all the time and
use IS_ENABLED(CONFIG_STRICT_MODULE_RWX) when relevant.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2022-04-05 08:43:04 -07:00
..
debug_kmemleak.c module: Move kmemleak support to a separate file 2022-04-05 08:43:04 -07:00
decompress.c module: Make internal.h and decompress.c more compliant 2022-04-05 08:42:35 -07:00
internal.h module: Move module_enable_x() and frob_text() in strict_rwx.c 2022-04-05 08:43:04 -07:00
kallsyms.c module: kallsyms: Fix suspicious rcu usage 2022-04-05 08:43:04 -07:00
kdb.c module: Move kdb module related code out of main kdb code 2022-04-05 08:43:04 -07:00
livepatch.c module: Move livepatch support to a separate file 2022-04-05 08:43:04 -07:00
main.c module: Move module_enable_x() and frob_text() in strict_rwx.c 2022-04-05 08:43:04 -07:00
Makefile module: Move module_enable_x() and frob_text() in strict_rwx.c 2022-04-05 08:43:04 -07:00
procfs.c module: Move procfs support into a separate file 2022-04-05 08:43:04 -07:00
signing.c module: Move extra signature support out of core code 2022-04-05 08:43:04 -07:00
strict_rwx.c module: Move module_enable_x() and frob_text() in strict_rwx.c 2022-04-05 08:43:04 -07:00
sysfs.c module: Move sysfs support into a separate file 2022-04-05 08:43:04 -07:00
tree_lookup.c module: Move latched RB-tree support to a separate file 2022-04-05 08:43:04 -07:00
version.c module: Move version support into a separate file 2022-04-05 08:43:04 -07:00