Lines Matching refs:tcp

255 print_sigset_addr_len_limit(struct tcb *const tcp, const kernel_ulong_t addr,  in print_sigset_addr_len_limit()  argument
267 if (umoven_or_printaddr(tcp, addr, len, mask)) in print_sigset_addr_len_limit()
273 print_sigset_addr_len(struct tcb *const tcp, const kernel_ulong_t addr, in print_sigset_addr_len() argument
276 print_sigset_addr_len_limit(tcp, addr, len, current_wordsize); in print_sigset_addr_len()
280 print_sigset_addr(struct tcb *const tcp, const kernel_ulong_t addr) in print_sigset_addr() argument
282 print_sigset_addr_len_limit(tcp, addr, NSIG_BYTES, NSIG_BYTES); in print_sigset_addr()
287 if (entering(tcp)) { in SYS_FUNC()
288 tprint_old_sigmask_val("", (unsigned) tcp->u_arg[0]); in SYS_FUNC()
289 } else if (!syserror(tcp)) { in SYS_FUNC()
290 tcp->auxstr = sprint_old_sigmask_val("old mask ", in SYS_FUNC()
291 (unsigned) tcp->u_rval); in SYS_FUNC()
320 decode_old_sigaction(struct tcb *const tcp, const kernel_ulong_t addr) in decode_old_sigaction() argument
333 if (umove_or_printaddr(tcp, addr, &sa32)) in decode_old_sigaction()
343 if (umove_or_printaddr(tcp, addr, &sa)) in decode_old_sigaction()
363 if (entering(tcp)) { in SYS_FUNC()
364 int signo = tcp->u_arg[0]; in SYS_FUNC()
373 decode_old_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC()
376 decode_old_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC()
382 if (entering(tcp)) { in SYS_FUNC()
383 printsignal(tcp->u_arg[0]); in SYS_FUNC()
385 print_sa_handler(tcp->u_arg[1]); in SYS_FUNC()
387 } else if (!syserror(tcp)) { in SYS_FUNC()
388 tcp->auxstr = get_sa_handler_str(tcp->u_rval); in SYS_FUNC()
396 if (exiting(tcp) && !syserror(tcp)) { in SYS_FUNC()
397 tcp->auxstr = sprint_old_sigmask_val("mask ", tcp->u_rval); in SYS_FUNC()
406 print_sigset_addr_len(tcp, tcp->u_arg[tcp->s_ent->nargs - 1], in SYS_FUNC()
409 tprint_old_sigmask_val("", tcp->u_arg[tcp->s_ent->nargs - 1]); in SYS_FUNC()
429 if (entering(tcp)) { in SYS_FUNC()
430 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
431 tprintsigmask_val(", ", tcp->u_arg[1]); in SYS_FUNC()
432 } else if (!syserror(tcp)) { in SYS_FUNC()
433 tcp->auxstr = sprintsigmask_val("old mask ", tcp->u_rval); in SYS_FUNC()
444 if (entering(tcp)) { in SYS_FUNC()
445 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
447 print_sigset_addr_len(tcp, tcp->u_arg[1], current_wordsize); in SYS_FUNC()
450 print_sigset_addr_len(tcp, tcp->u_arg[2], current_wordsize); in SYS_FUNC()
459 (int) tcp->u_arg[0], in SYS_FUNC()
460 signame(tcp->u_arg[1])); in SYS_FUNC()
468 (int) tcp->u_arg[0], in SYS_FUNC()
469 (int) tcp->u_arg[1], in SYS_FUNC()
470 signame(tcp->u_arg[2])); in SYS_FUNC()
477 if (exiting(tcp)) in SYS_FUNC()
478 print_sigset_addr_len(tcp, tcp->u_arg[0], current_wordsize); in SYS_FUNC()
485 if (entering(tcp)) { in SYS_FUNC()
486 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC()
488 print_sigset_addr_len(tcp, tcp->u_arg[1], tcp->u_arg[3]); in SYS_FUNC()
491 print_sigset_addr_len(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
492 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC()
524 decode_new_sigaction(struct tcb *const tcp, const kernel_ulong_t addr) in decode_new_sigaction() argument
532 if (umove_or_printaddr(tcp, addr, &sa32)) in decode_new_sigaction()
552 if (umove_or_printaddr(tcp, addr, &sa)) in decode_new_sigaction()
580 if (entering(tcp)) { in SYS_FUNC()
581 printsignal(tcp->u_arg[0]); in SYS_FUNC()
583 decode_new_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC()
586 decode_new_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC()
588 tprintf(", %#" PRI_klx ", %" PRI_klu, tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
590 tprintf(", %" PRI_klu ", %#" PRI_klx, tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
592 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC()
600 if (exiting(tcp)) { in SYS_FUNC()
607 print_sigset_addr_len_limit(tcp, tcp->u_arg[0], in SYS_FUNC()
608 tcp->u_arg[1], 1); in SYS_FUNC()
609 tprintf(", %" PRI_klu, tcp->u_arg[1]); in SYS_FUNC()
617 print_sigset_addr_len(tcp, tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC()
618 tprintf(", %" PRI_klu, tcp->u_arg[1]); in SYS_FUNC()
624 print_sigqueueinfo(struct tcb *const tcp, const int sig, in print_sigqueueinfo() argument
629 printsiginfo_at(tcp, addr); in print_sigqueueinfo()
634 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
635 print_sigqueueinfo(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
642 tprintf("%d, %d, ", (int) tcp->u_arg[0], (int) tcp->u_arg[1]); in SYS_FUNC()
643 print_sigqueueinfo(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
651 if (entering(tcp)) { in SYS_FUNC()
652 print_sigset_addr_len(tcp, tcp->u_arg[0], tcp->u_arg[3]); in SYS_FUNC()
654 if (!(tcp->u_arg[1] && verbose(tcp))) { in SYS_FUNC()
660 printaddr(tcp->u_arg[1]); in SYS_FUNC()
662 print_timespec(tcp, tcp->u_arg[2]); in SYS_FUNC()
663 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC()
665 char *sts = xstrdup(sprint_timespec(tcp, tcp->u_arg[2])); in SYS_FUNC()
666 set_tcb_priv_data(tcp, sts, free); in SYS_FUNC()
669 if (tcp->u_arg[1] && verbose(tcp)) { in SYS_FUNC()
670 printsiginfo_at(tcp, tcp->u_arg[1]); in SYS_FUNC()
672 tprints(get_tcb_priv_data(tcp)); in SYS_FUNC()
673 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC()
676 if (!syserror(tcp) && tcp->u_rval) { in SYS_FUNC()
677 tcp->auxstr = signame(tcp->u_rval); in SYS_FUNC()
687 tcp->s_prev_ent ? tcp->s_prev_ent->sys_name : "system call"); in SYS_FUNC()