Re: [0/3] PATCH Kprobes for x86_64- 2.6.9-final

From: Andi Kleen
Date: Thu Oct 28 2004 - 18:53:20 EST


> The kprobe notifier has to run for the case where the kernel
> does a userspace access and faults. This is to handle the
> case of setting a kprobe on a userspace access instruction.
> In such a event, we must unwind the reset the program counter
> so that exception table processing is done with the correct
> PC not the temporary one kprobes is using to execute the
> instruction where the breakpoint currently lives.

Ok that makes sense. Thanks for the explanation (the original
submitter didn't give one).

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