On 2019/6/26 3:21, Jessica Yu wrote:
+++ Yang Yingliang [25/06/19 17:40 +0800]:OK, I will add it in v2.
If CONFIG_ARCH_HAS_STRICT_MODULE_RWX is not defined,
we need stub for module_enable_nx() and module_enable_x().
If CONFIG_ARCH_HAS_STRICT_MODULE_RWX is defined, but
CONFIG_STRICT_MODULE_RWX is disabled, we need stub for
module_enable_nx.
Move frob_text() outside of the CONFIG_STRICT_MODULE_RWX,
because it is needed anyway.
Maybe include a fixes tag?
Fixes: 2eef1399a866 ("modules: fix BUG when load module with rodata=n")