Messages in this thread | | | Date | Mon, 21 Sep 1998 15:08:43 +0100 | From | Jamie Lokier <> | Subject | Re: [PATCH] (please check) Potential security fix for i386/kernel/ptrace.c |
| |
On Sun, Sep 20, 1998 at 06:02:47PM -0700, Linus Torvalds wrote: > Note that it not only ignores the trap, it also clears %db7 if I remember > correctly, exactly to make sure that the trap doesn't ever happen again.
do_debug tests for vm86 mode before anything else, and handles that as the first case. %db7 is NOT cleared in this case.
Perhaps a breakpoint can be set in kernel space which triggers while the user process is in vm86 mode. Should the check for kernel mode trap be moved earlier?
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |