[PATCH v6 5/8] ARM: kexec: Make .text R/W in machine_kexec

2014-09-18 Thread Kees Cook
From: Nikolay Borisov With the introduction of Kees Cook's patch to make the kernel .text read-only the existing method by which kexec works got broken since it directly pokes some values in the template code, which resides in the .text section. The current patch changes the way those values

[PATCH v6 5/8] ARM: kexec: Make .text R/W in machine_kexec

2014-09-18 Thread Kees Cook
From: Nikolay Borisov nikolay.bori...@arm.com With the introduction of Kees Cook's patch to make the kernel .text read-only the existing method by which kexec works got broken since it directly pokes some values in the template code, which resides in the .text section. The current patch changes