On Tue, Aug 26, 2008 at 03:01:02PM -0700, Roland McGrath wrote:
Finally! Familiar code! :^)
And some internal details still horrible and overdesigned just like at
the very beginning.
Well, all comments on tracehook patches were ignored.
If config option for ptrace is fine, please name it CONFIG_PTRACE.
For one, there will be no second tracing infrastracture. For two, nobody
but one man on the planet really cares how ptrace(2) is implemented.
General comments:
On the good side is per-task struct operation. This is good and should
be required from any such tracing facility.
Linked list of attached tracers? I don't know.
One the bad side, where are those nice tracing modules? Where are they?
I've heard rumours utrace is needed for frysk and frysk people were
pretty damn silent on linux-kernel.
On the homepage there is module which frozes task right before coredump.
AFAICS, Al Viro mentioned that non-schedulable TASK_BROKEN should be
sufficient for this without wasting all that time that went into
ptrace(2) stabilization and fixing holes in it.
This all similar to systemtap/markers story. Big changes under promises
that now, now somebody will use our thing.
General reminder:
people who collected ptrace(2) exploits proggies, try them again.
Now to code.
--