diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-02-23 10:00:59 +0100 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-05 08:43:04 -0700 |
commit | 32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7 (patch) | |
tree | ca8c7a86bf5a6a83cf56d96f1cdf42353dd28dd3 /fs/coda/pioctl.c | |
parent | 0597579356fe5b6c0b99196e4743d4c2978f654a (diff) | |
download | linux-32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7.tar.gz linux-32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7.tar.bz2 linux-32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7.zip |
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>
Diffstat (limited to 'fs/coda/pioctl.c')
0 files changed, 0 insertions, 0 deletions