> We do not set context->siginfo = info, this would be wrong because
> we do not report a signal. I wonder how the tracer can distinguish
> this case from the real SIGTRAP.

Just like other ptrace_notify() cases, only by checking details like
.si_code=0 vs known TRAP_* values that a real hardware-generated SIGTRAP
gives you.

> This is sad, because this just means we don't have enough tests...

You're a man who likes a challenge! ;-)


Thanks,
Roland

Reply via email to