Re: [1/2] 2.6.22-rc5: known regressions with patches

From: Ian McDonald
Date: Wed Jun 20 2007 - 18:41:52 EST


On 6/21/07, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
Well, for 2.6.22, Kprobes will just be disabled if you use DEBUG_RODATA.

And yes, that patch already got merged. However, the patch to *allow*
Kprobes with DEBUG_RODATA is not, and will not be. It's not a regression,
and quite frankly, I don't think I would even want that patch.

Kprobes fundamntally disagrees with DEBUG_RODATA, there's no point in
"working around it". Better just admit it.

Linus

It depends on the purpose of DEBUG_RODATA. If DEBUG_RODATA was for
security reasons then I agree, but it seems to be more to catch
accidental writes. Kprobes isn't an accidental write and I would
suspect many developers would want to catch accidental writes and be
able to insert kprobes.

Or is there something else I'm missing - i.e. you're saying the patch
itself is crap?

Ian

--
Web: http://wand.net.nz/~iam4/
Blog: http://iansblog.jandi.co.nz
WAND Network Research Group
-
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/