Lines Matching refs:tcp
227 print_sigset_addr_len(struct tcb *tcp, long addr, long len) in print_sigset_addr_len() argument
243 if (umoven_or_printaddr(tcp, addr, len, mask)) in print_sigset_addr_len()
250 if (entering(tcp)) { in SYS_FUNC()
251 tprintsigmask_val("", tcp->u_arg[0]); in SYS_FUNC()
253 else if (!syserror(tcp)) { in SYS_FUNC()
254 tcp->auxstr = sprintsigmask_val("old mask ", tcp->u_rval); in SYS_FUNC()
290 decode_old_sigaction(struct tcb *tcp, long addr) in decode_old_sigaction() argument
298 if (umove_or_printaddr(tcp, addr, &sa32)) in decode_old_sigaction()
310 if (umove_or_printaddr(tcp, addr, &sa)) in decode_old_sigaction()
347 if (entering(tcp)) { in SYS_FUNC()
348 printsignal(tcp->u_arg[0]); in SYS_FUNC()
350 decode_old_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC()
353 decode_old_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC()
359 if (entering(tcp)) { in SYS_FUNC()
360 printsignal(tcp->u_arg[0]); in SYS_FUNC()
362 switch (tcp->u_arg[1]) { in SYS_FUNC()
373 printaddr(tcp->u_arg[1]); in SYS_FUNC()
377 else if (!syserror(tcp)) { in SYS_FUNC()
378 switch (tcp->u_rval) { in SYS_FUNC()
380 tcp->auxstr = "SIG_ERR"; break; in SYS_FUNC()
382 tcp->auxstr = "SIG_DFL"; break; in SYS_FUNC()
384 tcp->auxstr = "SIG_IGN"; break; in SYS_FUNC()
386 tcp->auxstr = NULL; in SYS_FUNC()
397 if (exiting(tcp)) { in SYS_FUNC()
398 tcp->auxstr = sprintsigmask_val("mask ", tcp->u_rval); in SYS_FUNC()
405 tprintsigmask_val("", tcp->u_arg[2]); in SYS_FUNC()
416 if (entering(tcp)) { in SYS_FUNC()
428 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
429 tprintsigmask_val(", ", tcp->u_arg[1]); in SYS_FUNC()
431 else if (!syserror(tcp)) { in SYS_FUNC()
432 tcp->auxstr = sprintsigmask_val("old mask ", tcp->u_rval); in SYS_FUNC()
436 if (entering(tcp)) { in SYS_FUNC()
437 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
439 print_sigset_addr_len(tcp, tcp->u_arg[1], current_wordsize); in SYS_FUNC()
443 print_sigset_addr_len(tcp, tcp->u_arg[2], current_wordsize); in SYS_FUNC()
454 widen_to_long(tcp->u_arg[0]), in SYS_FUNC()
455 signame(tcp->u_arg[1])); in SYS_FUNC()
463 widen_to_long(tcp->u_arg[0]), in SYS_FUNC()
464 widen_to_long(tcp->u_arg[1]), in SYS_FUNC()
465 signame(tcp->u_arg[2])); in SYS_FUNC()
472 if (exiting(tcp)) in SYS_FUNC()
473 print_sigset_addr_len(tcp, tcp->u_arg[0], current_wordsize); in SYS_FUNC()
480 if (entering(tcp)) { in SYS_FUNC()
481 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
483 print_sigset_addr_len(tcp, tcp->u_arg[1], tcp->u_arg[3]); in SYS_FUNC()
487 print_sigset_addr_len(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
488 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC()
522 decode_new_sigaction(struct tcb *tcp, long addr) in decode_new_sigaction() argument
530 if (umove_or_printaddr(tcp, addr, &sa32)) in decode_new_sigaction()
550 if (umove_or_printaddr(tcp, addr, &sa)) in decode_new_sigaction()
589 if (entering(tcp)) { in SYS_FUNC()
590 printsignal(tcp->u_arg[0]); in SYS_FUNC()
592 decode_new_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC()
595 decode_new_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC()
597 tprintf(", %#lx, %lu", tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
599 tprintf(", %lu, %#lx", tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
601 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC()
609 if (exiting(tcp)) { in SYS_FUNC()
616 print_sigset_addr_len(tcp, tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC()
617 tprintf(", %lu", tcp->u_arg[1]); in SYS_FUNC()
625 print_sigset_addr_len(tcp, tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC()
626 tprintf(", %lu", tcp->u_arg[1]); in SYS_FUNC()
632 print_sigqueueinfo(struct tcb *tcp, int sig, unsigned long uinfo) in print_sigqueueinfo() argument
636 printsiginfo_at(tcp, uinfo); in print_sigqueueinfo()
641 tprintf("%lu, ", tcp->u_arg[0]); in SYS_FUNC()
642 print_sigqueueinfo(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
649 tprintf("%lu, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC()
650 print_sigqueueinfo(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
658 if (entering(tcp)) { in SYS_FUNC()
659 print_sigset_addr_len(tcp, tcp->u_arg[0], tcp->u_arg[3]); in SYS_FUNC()
662 if (tcp->u_arg[1] != 0) in SYS_FUNC()
667 else if (tcp->u_arg[1] != 0) { in SYS_FUNC()
669 printsiginfo_at(tcp, tcp->u_arg[1]); in SYS_FUNC()
682 temporarily_clear_syserror(tcp); in SYS_FUNC()
683 print_timespec(tcp, tcp->u_arg[2]); in SYS_FUNC()
684 restore_cleared_syserror(tcp); in SYS_FUNC()
686 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC()
693 tcp->s_prev_ent ? tcp->s_prev_ent->sys_name : "system call"); in SYS_FUNC()