Unverified Commit a8a42038 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3755 livepatch/core: Fix miss disable ro for MOD_RO_AFTER_INIT memory

parents d553095c 1596fa8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ void module_disable_ro(const struct module *mod)
	module_set_memory(mod, MOD_INIT_TEXT, set_memory_rw);
	module_set_memory(mod, MOD_RODATA, set_memory_rw);
	module_set_memory(mod, MOD_INIT_RODATA, set_memory_rw);
	module_set_memory(mod, MOD_RO_AFTER_INIT, set_memory_rw);
}
#endif /* CONFIG_LIVEPATCH_WO_FTRACE */