module: Change module_enable_{nx/x/ro}() to more explicit names
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 21 Dec 2023 07:24:24 +0000 (08:24 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Mon, 29 Jan 2024 20:00:31 +0000 (12:00 -0800)
commit3559ad395bf02f3dee576dc9acab4ce330ce57b5
tree26cda2aea32a4b592c28723953e20035e7283492
parentac88ee7d2b87c1f93b89fd9ce5911c2ab2bda816
module: Change module_enable_{nx/x/ro}() to more explicit names

It's a bit puzzling to see a call to module_enable_nx() followed by a
call to module_enable_x(). This is because one applies on text while
the other applies on data.

Change name to make that more clear.

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