[PATCH 2/2] arm: use fixmap for text patching when text is RO

Doug Anderson dianders at google.com
Wed Apr 23 15:51:45 PDT 2014


Kees,

On Wed, Apr 23, 2014 at 2:09 PM, Kees Cook <keescook at chromium.org> wrote:

> I think we can use this for the kgdb case too. Has anyone tried that
> yet? Perhaps implementing text_poke() in terms of patch_map/unmap
> calls would be best? Then the arm-specific kgdb hooks can use that,
> since it does the icache flushing separately.

Yes.  I just tried using these patches and it worked for me.  :)  I
didn't actually implement text_poke(), though.

Atop our 3.8 tree, in case anyone is curious

* https://chromium-review.googlesource.com/196670
* https://chromium-review.googlesource.com/196671
* https://chromium-review.googlesource.com/196672
* https://chromium-review.googlesource.com/196673
* https://chromium-review.googlesource.com/196674

Please include me on the CC list for spins of your patches...

-Doug



More information about the linux-arm-kernel mailing list