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

2014-09-04 Thread Will Deacon
On Thu, Sep 04, 2014 at 03:00:31PM +0100, Kees Cook wrote: > On Thu, Sep 4, 2014 at 2:27 AM, Will Deacon wrote: > > On Wed, Sep 03, 2014 at 10:43:58PM +0100, Kees Cook wrote: > >> On Wed, Aug 20, 2014 at 5:28 AM, Kees Cook wrote: > >> > On Tue, Aug 19, 2014 at 7:29 AM, Will Deacon wrote: > >> >>

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

2014-09-04 Thread Kees Cook
On Thu, Sep 4, 2014 at 2:27 AM, Will Deacon wrote: > On Wed, Sep 03, 2014 at 10:43:58PM +0100, Kees Cook wrote: >> On Wed, Aug 20, 2014 at 5:28 AM, Kees Cook wrote: >> > On Tue, Aug 19, 2014 at 7:29 AM, Will Deacon wrote: >> >> On Wed, Aug 13, 2014 at 06:06:29PM +0100, Kees Cook wrote: >> >>> +s

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

2014-09-04 Thread Will Deacon
On Wed, Sep 03, 2014 at 10:43:58PM +0100, Kees Cook wrote: > On Wed, Aug 20, 2014 at 5:28 AM, Kees Cook wrote: > > On Tue, Aug 19, 2014 at 7:29 AM, Will Deacon wrote: > >> On Wed, Aug 13, 2014 at 06:06:29PM +0100, Kees Cook wrote: > >>> +static void __kprobes *patch_map(void *addr, int fixmap, un

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

2014-09-03 Thread Kees Cook
On Wed, Aug 20, 2014 at 5:28 AM, Kees Cook wrote: > On Tue, Aug 19, 2014 at 7:29 AM, Will Deacon wrote: >> Hello, >> >> On Wed, Aug 13, 2014 at 06:06:29PM +0100, Kees Cook wrote: >>> From: Rabin Vincent >>> >>> Use fixmaps for text patching when the kernel text is read-only, >>> inspired by x86.

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

2014-08-20 Thread Kees Cook
On Tue, Aug 19, 2014 at 7:29 AM, Will Deacon wrote: > Hello, > > On Wed, Aug 13, 2014 at 06:06:29PM +0100, Kees Cook wrote: >> 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 >> curren

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

2014-08-19 Thread Will Deacon
Hello, On Wed, Aug 13, 2014 at 06:06:29PM +0100, Kees Cook wrote: > 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 >

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

2014-08-13 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 for