Re: CONFIG_DEBUG_RODATA prevents kprobes from working on 2.6.22-rc2

From: Andi Kleen
Date: Fri May 25 2007 - 07:22:29 EST


William Cohen <wcohen@xxxxxxxxxx> writes:
>
> Shouldn't mark_rodata_ro be less agressive when CONFIG_KPROBES is
> enabled? Or should kprobes temporarily change the page to be
> writeable, set the break point, and then return the page to read only?

The later.

-Andi
-
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/