Messages in this thread | | | Date | Sat, 08 Jan 2005 01:44:24 +0300 | From | Stas Sergeev <> | Subject | Re: [patch] kprobes: dont steal interrupts from vm86 |
| |
Hi.
Prasanna S Panchamukhi wrote: > The patch below fixes this problem. > Please let me know your comments. The patch works, thanks. I have no complains to it, it fixes the problem it is intended to fix.
The following is just a reminder about the other problems I mentioned earlier.
This problem is still not addressed: http://lkml.org/lkml/2004/12/4/48
Also VM86 check should be done before the "addr" is used I think, is this true?
And dereferencing the pointer to user-space, like "*addr", is this safe? I thought get_user() is used for that, was this intentional?
By the way, maybe it is possible to avoid the removal race without checking an opcode at all? Probably by marking the probes as "removed", and checking the "addr" against the "removed" ones instead of checking the opcode? This way you'll avoid any interference with the debuggers that can also remove their breakpoints, and also the aforementioned problem will get fixed automatically.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |