Chuckle.
> I don't think user-space debuggers should need to know about the
> internals of the kernel, and so there is no reason to keep this. >
Yep
> arch/i386/kernel/ptrace.c:syscall_trace (and similarly for other arches)
> to see if the syscall was made from kernel mode. If so, the parent
> should not be notified.
Thats the fast path though. I think you just need to clear the ptrace
flags in kernel_thread()
Alan
-
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/