Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 47) sorted by relevance

12

/linux-2.4.37.9/arch/cris/kernel/
Dptrace.c209 child->exit_code = data; in sys_ptrace()
224 child->exit_code = SIGKILL; in sys_ptrace()
237 child->exit_code = data; in sys_ptrace()
300 current->exit_code = SIGTRAP; in syscall_trace()
309 if (current->exit_code) { in syscall_trace()
310 send_sig(current->exit_code, current, 1); in syscall_trace()
311 current->exit_code = 0; in syscall_trace()
Dsignal.c609 current->exit_code = signr; in do_signal()
615 if (!(signr = current->exit_code)) in do_signal()
617 current->exit_code = 0; in do_signal()
650 int exit_code = signr; in do_signal() local
667 current->exit_code = signr; in do_signal()
677 exit_code |= 0x80; in do_signal()
682 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/mips/kernel/
Dptrace.c245 child->exit_code = data; in sys_ptrace()
260 child->exit_code = SIGKILL; in sys_ptrace()
294 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
304 if (current->exit_code) { in syscall_trace()
305 send_sig(current->exit_code, current, 1); in syscall_trace()
306 current->exit_code = 0; in syscall_trace()
Dirixsig.c195 current->exit_code = signr; in do_irix_signal()
201 if (!(signr = current->exit_code)) in do_irix_signal()
203 current->exit_code = 0; in do_irix_signal()
236 int exit_code = signr; in do_irix_signal() local
253 current->exit_code = signr; in do_irix_signal()
262 exit_code |= 0x80; in do_irix_signal()
269 do_exit(exit_code); in do_irix_signal()
680 if (!p->exit_code) in irix_waitsys()
691 __put_user((p->exit_code >> 8) & 0xff, in irix_waitsys()
695 p->exit_code = 0; in irix_waitsys()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dptrace.c249 child->exit_code = data; in sys_ptrace()
264 child->exit_code = SIGKILL; in sys_ptrace()
285 child->exit_code = data; in sys_ptrace()
325 tsk->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
335 if (tsk->exit_code) { in syscall_trace()
336 send_sig(tsk->exit_code, tsk, 1); in syscall_trace()
337 tsk->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/parisc/kernel/
Dptrace.c305 child->exit_code = data; in sys_ptrace()
317 child->exit_code = SIGKILL; in sys_ptrace()
327 child->exit_code = data; in sys_ptrace()
343 child->exit_code = data; in sys_ptrace()
413 current->exit_code = SIGTRAP; in syscall_trace()
422 if (current->exit_code) { in syscall_trace()
423 send_sig(current->exit_code, current, 1); in syscall_trace()
424 current->exit_code = 0; in syscall_trace()
Dsignal.c459 current->exit_code = signr; in do_signal()
465 if (!(signr = current->exit_code)) in do_signal()
467 current->exit_code = 0; in do_signal()
501 int exit_code = signr; in do_signal() local
518 current->exit_code = signr; in do_signal()
530 exit_code |= 0x80; in do_signal()
534 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/ppc/kernel/
Dptrace.c288 child->exit_code = data; in sys_ptrace()
311 child->exit_code = SIGKILL; in sys_ptrace()
324 child->exit_code = data; in sys_ptrace()
369 current->exit_code = SIGTRAP; in syscall_trace()
378 if (current->exit_code) { in syscall_trace()
379 send_sig(current->exit_code, current, 1); in syscall_trace()
380 current->exit_code = 0; in syscall_trace()
Dsignal.c592 current->exit_code = signr; in get_signal_to_deliver()
598 if (!(signr = current->exit_code)) in get_signal_to_deliver()
600 current->exit_code = 0; in get_signal_to_deliver()
633 int exit_code = signr; in get_signal_to_deliver() local
650 current->exit_code = signr; in get_signal_to_deliver()
660 exit_code |= 0x80; in get_signal_to_deliver()
664 sig_exit(signr, exit_code, infop); in get_signal_to_deliver()
/linux-2.4.37.9/arch/ppc64/kernel/
Dptrace.c235 child->exit_code = data; in sys_ptrace()
252 child->exit_code = SIGKILL; in sys_ptrace()
265 child->exit_code = data; in sys_ptrace()
375 current->exit_code = SIGTRAP; in syscall_trace()
384 if (current->exit_code) { in syscall_trace()
385 send_sig(current->exit_code, current, 1); in syscall_trace()
386 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/m68k/kernel/
Dptrace.c244 child->exit_code = data; in sys_ptrace()
264 child->exit_code = SIGKILL; in sys_ptrace()
282 child->exit_code = data; in sys_ptrace()
362 current->exit_code = SIGTRAP; in syscall_trace()
371 if (current->exit_code) { in syscall_trace()
372 send_sig(current->exit_code, current, 1); in syscall_trace()
373 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/sh/kernel/
Dptrace.c267 child->exit_code = data; in sys_ptrace()
282 child->exit_code = SIGKILL; in sys_ptrace()
333 child->exit_code = data; in sys_ptrace()
404 tsk->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
414 if (tsk->exit_code) { in syscall_trace()
415 send_sig(tsk->exit_code, tsk, 1); in syscall_trace()
416 tsk->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/s390/kernel/
Dptrace.c307 child->exit_code = data; in sys_ptrace()
323 child->exit_code = SIGKILL; in sys_ptrace()
334 child->exit_code = data; in sys_ptrace()
368 current->exit_code = SIGTRAP; in syscall_trace()
377 if (current->exit_code) { in syscall_trace()
378 send_sig(current->exit_code, current, 1); in syscall_trace()
379 current->exit_code = 0; in syscall_trace()
Dsignal.c499 current->exit_code = signr; in do_signal()
505 if (!(signr = current->exit_code)) in do_signal()
507 current->exit_code = 0; in do_signal()
540 int exit_code = signr; in do_signal() local
558 current->exit_code = signr; in do_signal()
570 exit_code |= 0x80; in do_signal()
574 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/mips64/kernel/
Dptrace.c243 child->exit_code = data; in sys32_ptrace()
257 child->exit_code = SIGKILL; in sys32_ptrace()
464 child->exit_code = data; in sys_ptrace()
478 child->exit_code = SIGKILL; in sys_ptrace()
516 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
526 if (current->exit_code) { in syscall_trace()
527 send_sig(current->exit_code, current, 1); in syscall_trace()
528 current->exit_code = 0; in syscall_trace()
Dsignal.c415 current->exit_code = signr; in do_signal()
421 if (!(signr = current->exit_code)) in do_signal()
423 current->exit_code = 0; in do_signal()
456 int exit_code = signr; in do_signal() local
473 current->exit_code = signr; in do_signal()
483 exit_code |= 0x80; in do_signal()
487 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/i386/kernel/
Dptrace.c284 child->exit_code = data; in sys_ptrace()
304 child->exit_code = SIGKILL; in sys_ptrace()
325 child->exit_code = data; in sys_ptrace()
440 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
450 if (current->exit_code) { in syscall_trace()
451 send_sig(current->exit_code, current, 1); in syscall_trace()
452 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/x86_64/kernel/
Dptrace.c317 child->exit_code = data; in sys_ptrace()
338 child->exit_code = SIGKILL; in sys_ptrace()
359 child->exit_code = data; in sys_ptrace()
448 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
458 if (current->exit_code) { in syscall_trace()
459 send_sig(current->exit_code, current, 1); in syscall_trace()
460 current->exit_code = 0; in syscall_trace()
Dsignal.c477 current->exit_code = signr; in do_signal()
483 if (!(signr = current->exit_code)) in do_signal()
485 current->exit_code = 0; in do_signal()
518 int exit_code = signr; in do_signal() local
536 current->exit_code = signr; in do_signal()
548 exit_code |= 0x80; in do_signal()
552 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/alpha/kernel/
Dptrace.c343 child->exit_code = data; in sys_ptrace()
358 child->exit_code = SIGKILL; in sys_ptrace()
372 child->exit_code = data; in sys_ptrace()
398 current->exit_code = SIGTRAP; in syscall_trace()
407 if (current->exit_code) { in syscall_trace()
408 send_sig(current->exit_code, current, 1); in syscall_trace()
409 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/sparc/kernel/
Dptrace.c543 child->exit_code = data; in do_ptrace()
546 child->pid, child->exit_code, in do_ptrace()
567 child->exit_code = SIGKILL; in do_ptrace()
603 current->exit_code = SIGTRAP; in syscall_trace()
615 current->pid, current->exit_code); in syscall_trace()
617 if (current->exit_code) { in syscall_trace()
618 send_sig (current->exit_code, current, 1); in syscall_trace()
619 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/s390x/kernel/
Dptrace.c525 child->exit_code = data; in sys_ptrace()
541 child->exit_code = SIGKILL; in sys_ptrace()
552 child->exit_code = data; in sys_ptrace()
601 current->exit_code = SIGTRAP; in syscall_trace()
610 if (current->exit_code) { in syscall_trace()
611 send_sig(current->exit_code, current, 1); in syscall_trace()
612 current->exit_code = 0; in syscall_trace()
Dsignal.c503 current->exit_code = signr; in do_signal()
509 if (!(signr = current->exit_code)) in do_signal()
511 current->exit_code = 0; in do_signal()
544 int exit_code = signr; in do_signal() local
562 current->exit_code = signr; in do_signal()
574 exit_code |= 0x80; in do_signal()
578 sig_exit(signr, exit_code, &info); in do_signal()
/linux-2.4.37.9/arch/sparc64/kernel/
Dptrace.c530 child->exit_code = data; in do_ptrace()
533 child->pid, child->exit_code, in do_ptrace()
553 child->exit_code = SIGKILL; in do_ptrace()
611 current->exit_code = SIGTRAP; in syscall_trace()
623 current->pid, current->exit_code); in syscall_trace()
625 if (current->exit_code) { in syscall_trace()
626 send_sig (current->exit_code, current, 1); in syscall_trace()
627 current->exit_code = 0; in syscall_trace()
/linux-2.4.37.9/arch/arm/kernel/
Dptrace.c621 child->exit_code = data; in do_ptrace()
637 child->exit_code = SIGKILL; in do_ptrace()
652 child->exit_code = data; in do_ptrace()
761 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()
771 if (current->exit_code) { in syscall_trace()
772 send_sig(current->exit_code, current, 1); in syscall_trace()
773 current->exit_code = 0; in syscall_trace()

12