IANAKH, but there's some debugging code in ptrace.c. You can turn it
off with the attached patch (mailed yesterday to Linus). The messages
show up when doing a normal strace, too.
-- Pete Harlan harlan@pointofchoice.com--- linux.orig/arch/i386/kernel/ptrace.c Sat Jan 9 12:12:51 1999 +++ linux/arch/i386/kernel/ptrace.c Sun Jan 10 05:03:25 1999 @@ -67,6 +67,7 @@ return 0; } +#ifdef DEBUG_PTRACE extern int _stext, _etext; static void print_child_state(struct task_struct *task) { @@ -93,6 +94,7 @@ } printk("\n"); } +#endif /* * This routine gets a long from any process space by following the page @@ -400,7 +402,9 @@ read_unlock(&tasklist_lock); /* FIXME!!! */ if (!child) goto out; -print_child_state(child); +#ifdef DEBUG_PTRACE + print_child_state(child); +#endif ret = -EPERM; if (pid == 1) /* you may not mess with init */ goto out;
- 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/