Messages in this thread | | | Date | Thu, 3 Apr 2014 17:52:55 -0700 | Subject | Re: [PATCH] arm: don't allow CONFIG_DEBUG_SET_MODULE_RONX if CONFIG_JUMP_LABEL is enabled | From | Kees Cook <> |
| |
On Thu, Apr 3, 2014 at 4:48 PM, Rabin Vincent <rabin@rab.in> wrote: > On Thu, Apr 03, 2014 at 04:14:54PM -0700, Kees Cook wrote: >> On Tue, Apr 1, 2014 at 4:08 PM, Rabin Vincent <rabin@rab.in> wrote: >> > Here's a patch (probably whitespace damaged, hence also attached) with >> > which dynamic ftrace works for me on top your other paches. Tested on >> > a non-LPAE SMP. >> >> Thanks! I'll incorporate calls to set_all_modules_text_rw/ro and see >> what I can make work. > > You can use the patch I posted yesterday for module support: > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-April/244558.html
Yup, that's basically what I had too.
So, even with your patch, I still get faults with ftrace. probe_kernel_write still errors for me, and I don't see why. I will send an updated patch series with my current CONFIG_DEBUG_RODATA work shortly...
-Kees
-- Kees Cook Chrome OS Security
| |