Re: [PATCH v1 0/8] Enable STRICT_KERNEL_RWX

2017-05-30 Thread Naveen N. Rao
On 2017/05/25 04:57PM, Balbir Singh wrote: > On Thu, 25 May 2017 13:36:42 +1000 > Balbir Singh wrote: > > > Enable STRICT_KERNEL_RWX for PPC64/BOOK3S > > > > These patches enable RX mappings of kernel text. > > rodata is mapped RX as well as a trade-off, there > > are more details in the patch d

Re: [PATCH v1 0/8] Enable STRICT_KERNEL_RWX

2017-05-24 Thread Balbir Singh
On Thu, 25 May 2017 13:36:42 +1000 Balbir Singh wrote: > Enable STRICT_KERNEL_RWX for PPC64/BOOK3S > > These patches enable RX mappings of kernel text. > rodata is mapped RX as well as a trade-off, there > are more details in the patch description > > As a prerequisite for R/O text, patch_instr

[PATCH v1 0/8] Enable STRICT_KERNEL_RWX

2017-05-24 Thread Balbir Singh
Enable STRICT_KERNEL_RWX for PPC64/BOOK3S These patches enable RX mappings of kernel text. rodata is mapped RX as well as a trade-off, there are more details in the patch description As a prerequisite for R/O text, patch_instruction is moved over to using a separate mapping that allows write to k