in kernel/ptrace_h.c [249:256]
asmlinkage void trace_trap(unsigned long bp) { if ((unsigned long)current->thread.breakinfo.addr == bp) { user_disable_single_step(current); force_sig(SIGTRAP); } else force_sig(SIGILL); }