Lines Matching defs:exit_code
1491 info.si_status = tsk->exit_code & 0x7f;
1492 if (tsk->exit_code & 0x80)
1494 else if (tsk->exit_code & 0x7f)
1498 info.si_status = tsk->exit_code >> 8;
1569 info.si_status = tsk->exit_code & 0x7f;
1626 * is gone, we keep current->exit_code unless clear_code.
1628 static void ptrace_stop(int exit_code, int clear_code, siginfo_t *info)
1630 if (arch_ptrace_stop_needed(exit_code, info)) {
1643 arch_ptrace_stop(exit_code, info);
1657 current->exit_code = exit_code;
1676 current->exit_code = 0;
1703 void ptrace_notify(int exit_code)
1707 BUG_ON((exit_code & (0x7f | ~0xffff)) != SIGTRAP);
1711 info.si_code = exit_code;
1717 ptrace_stop(exit_code, 1, &info);
1772 current->exit_code = sig->group_exit_code;
1789 current->exit_code = 0;
1806 signr = current->exit_code;
1810 current->exit_code = 0;