Re: [PATCH] cleanup ptrace stops and remove notify_parent

From: Anton Blanchard
Date: Tue Aug 31 2004 - 04:48:24 EST



> Just about every architecture hasa line
>
> + ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) ? 0x80 : 0));
>
> you probably want a one-liner inline wrapper with a descriptive name
> around this

Yep, and it looks like only some architectures got this recent change:

ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) &&
!test_thread_flag(TIF_SINGLESTEP) ? 0x80 : 0));

Is there a reason this shouldnt be propogated to all architectures?

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