]> git.baikalelectronics.ru Git - kernel.git/commit
module: Rename debug_align() as strict_align()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 23 Feb 2022 09:01:01 +0000 (10:01 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 5 Apr 2022 15:43:04 +0000 (08:43 -0700)
commit690ed687f8c914f35f5099d3a1b7eb4a17d410ba
tree2d15fd6294f4633c06a915243ea5612553fddc84
parent10d8b4f01115e7eb8218c802d4373bcbc1c9341c
module: Rename debug_align() as strict_align()

debug_align() was added by commit 0b272eca9f99 ("x86: Add RO/NX
protection for loadable kernel modules")

At that time the config item was CONFIG_DEBUG_SET_MODULE_RONX.

But nowadays it has changed to CONFIG_STRICT_MODULE_RWX and
debug_align() is confusing because it has nothing to do with
DEBUG.

Rename it strict_align()

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/internal.h
kernel/module/kallsyms.c
kernel/module/main.c