Re: [PATCH] arm: ftrace: work with CONFIG_DEBUG_SET_MODULE_RONX

2014-04-04 Thread Kees Cook
On Wed, Apr 2, 2014 at 3:10 PM, Rabin Vincent wrote: > Make ftrace work with CONFIG_DEBUG_SET_MODULE_RONX by making module text > writable around the place where ftrace does its work, like it is done on > x86 in the patch which introduced CONFIG_DEBUG_SET_MODULE_RONX, > 84e1c6bb38eb ("x86: Add RO/

Re: [PATCH] arm: ftrace: work with CONFIG_DEBUG_SET_MODULE_RONX

2014-04-03 Thread Mitchel Humpherys
On Wed, Apr 02 2014 at 06:04:29 PM, Laura Abbott wrote: > I think Mitch tested this on our internal targets. I'll let him reply with > his Tested-by > > Laura Indeed: Tested-by: Mitchel Humpherys -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linu

Re: [PATCH] arm: ftrace: work with CONFIG_DEBUG_SET_MODULE_RONX

2014-04-02 Thread Laura Abbott
On 4/2/2014 3:10 PM, Rabin Vincent wrote: > Make ftrace work with CONFIG_DEBUG_SET_MODULE_RONX by making module text > writable around the place where ftrace does its work, like it is done on > x86 in the patch which introduced CONFIG_DEBUG_SET_MODULE_RONX, > 84e1c6bb38eb ("x86: Add RO/NX protectio

[PATCH] arm: ftrace: work with CONFIG_DEBUG_SET_MODULE_RONX

2014-04-02 Thread Rabin Vincent
Make ftrace work with CONFIG_DEBUG_SET_MODULE_RONX by making module text writable around the place where ftrace does its work, like it is done on x86 in the patch which introduced CONFIG_DEBUG_SET_MODULE_RONX, 84e1c6bb38eb ("x86: Add RO/NX protection for loadable kernel modules"). Signed-off-by: R