[PATCH v6 4/8] arm: use fixmap for text patching when text is RO

2014-09-18 Thread Kees Cook
From: Rabin Vincent Use fixmaps for text patching when the kernel text is read-only, inspired by x86. This makes jump labels and kprobes work with the currently available CONFIG_DEBUG_SET_MODULE_RONX and the upcoming CONFIG_DEBUG_RODATA options. Signed-off-by: Rabin Vincent [kees: fixed up

[PATCH v6 4/8] arm: use fixmap for text patching when text is RO

2014-09-18 Thread Kees Cook
From: Rabin Vincent ra...@rab.in Use fixmaps for text patching when the kernel text is read-only, inspired by x86. This makes jump labels and kprobes work with the currently available CONFIG_DEBUG_SET_MODULE_RONX and the upcoming CONFIG_DEBUG_RODATA options. Signed-off-by: Rabin Vincent