Re: [patch 2/2] kprobes x86_64 quick fix mark-ro-data

From: Mathieu Desnoyers
Date: Tue Jun 19 2007 - 09:34:53 EST


* Arjan van de Ven (arjan@xxxxxxxxxxxxx) wrote:
> On Tue, 2007-06-19 at 15:38 +0530, S. P. Prasanna wrote:
> > This patch is a quick fix for x86_64 to enable kprobes only if DEBUG_RODATA is
> > not configured. Since DEBUG_RODATA markes the kernel text pages as read-only.
>
>
> it does??
>
> I don't seem to be able to find this in the source code.....
>

See arch/x86_64/mm/init.c:mark_rodata_ro().

Mathieu

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/