• Home
  • Raw
  • Download

Lines Matching refs:tcp

299 copy_sigset_len(tcp, addr, s, len)  in copy_sigset_len()  argument
300 struct tcb *tcp; in copy_sigset_len()
308 if (umoven(tcp, addr, len, (char *)s) < 0)
315 #define copy_sigset(tcp, addr, s) copy_sigset_len(tcp, addr, s, sizeof(long)) argument
317 #define copy_sigset(tcp, addr, s) copy_sigset_len(tcp, addr, s, sizeof(sigset_t)) argument
402 print_sigset(struct tcb *tcp, long addr, int rt) in print_sigset() argument
408 else if (copy_sigset(tcp, addr, &ss) < 0) in print_sigset()
861 sigishandled(tcp, sig) in sigishandled() argument
862 struct tcb *tcp; in sigishandled()
904 sprintf(sname, "/proc/%d/status", tcp->pid);
943 if (upeek(tcp, uoff(u_signal[0]) + sig*sizeof(u_signal),
957 sys_sigvec(tcp) in sys_sigvec() argument
958 struct tcb *tcp; in sys_sigvec()
963 if (entering(tcp)) {
964 printsignal(tcp->u_arg[0]);
966 addr = tcp->u_arg[1];
968 addr = tcp->u_arg[2];
972 else if (!verbose(tcp))
974 else if (umove(tcp, addr, &sv) < 0)
985 if (tcp->u_arg[0] == SIGTRAP) {
986 tcp->flags |= TCB_SIGTRAPPED;
987 kill(tcp->pid, SIGSTOP);
992 if (tcp->u_arg[0] == SIGTRAP) {
993 tcp->flags |= TCB_SIGTRAPPED;
994 kill(tcp->pid, SIGSTOP);
999 if (tcp->u_arg[0] == SIGTRAP) {
1000 tcp->flags |= TCB_SIGTRAPPED;
1001 kill(tcp->pid, SIGSTOP);
1010 if (entering(tcp))
1016 sys_sigpause(tcp) in sys_sigpause() argument
1017 struct tcb *tcp; in sys_sigpause()
1019 if (entering(tcp)) { /* WTA: UD had a bug here: he forgot the braces */
1021 long_to_sigset(tcp->u_arg[0], &sigm);
1028 sys_sigstack(tcp) in sys_sigstack() argument
1029 struct tcb *tcp; in sys_sigstack()
1034 if (entering(tcp))
1035 addr = tcp->u_arg[0];
1037 addr = tcp->u_arg[1];
1040 else if (umove(tcp, addr, &ss) < 0)
1046 if (entering(tcp))
1052 sys_sigcleanup(tcp) in sys_sigcleanup() argument
1053 struct tcb *tcp; in sys_sigcleanup()
1063 sys_sigsetmask(tcp) in sys_sigsetmask() argument
1064 struct tcb *tcp; in sys_sigsetmask()
1066 if (entering(tcp)) {
1068 long_to_sigset(tcp->u_arg[0], &sigm);
1071 if ((tcp->u_arg[0] & sigmask(SIGTRAP))) {
1073 tcp->flags |= TCB_SIGTRAPPED;
1075 kill(tcp->pid, SIGSTOP);
1079 else if (!syserror(tcp)) {
1081 long_to_sigset(tcp->u_rval, &sigm);
1082 tcp->auxstr = sprintsigmask("old mask ", &sigm, 0);
1091 sys_sigblock(tcp) in sys_sigblock() argument
1092 struct tcb *tcp; in sys_sigblock()
1094 return sys_sigsetmask(tcp);
1117 sys_sigaction(tcp) in sys_sigaction() argument
1118 struct tcb *tcp; in sys_sigaction()
1129 if (entering(tcp)) {
1130 printsignal(tcp->u_arg[0]);
1132 addr = tcp->u_arg[1];
1134 addr = tcp->u_arg[2];
1137 else if (!verbose(tcp))
1139 else if (umove(tcp, addr, &sa) < 0)
1156 if (tcp->u_arg[0] == SIGTRAP) {
1157 tcp->flags |= TCB_SIGTRAPPED;
1158 kill(tcp->pid, SIGSTOP);
1165 if (tcp->u_arg[0] == SIGTRAP) {
1166 tcp->flags |= TCB_SIGTRAPPED;
1167 kill(tcp->pid, SIGSTOP);
1186 if (entering(tcp))
1196 sys_signal(tcp) in sys_signal() argument
1197 struct tcb *tcp; in sys_signal()
1199 if (entering(tcp)) {
1200 printsignal(tcp->u_arg[0]);
1202 switch (tcp->u_arg[1]) {
1211 if (tcp->u_arg[0] == SIGTRAP) {
1212 tcp->flags |= TCB_SIGTRAPPED;
1213 kill(tcp->pid, SIGSTOP);
1220 if (tcp->u_arg[0] == SIGTRAP) {
1221 tcp->flags |= TCB_SIGTRAPPED;
1222 kill(tcp->pid, SIGSTOP);
1225 tprintf("%#lx", tcp->u_arg[1]);
1229 else if (!syserror(tcp)) {
1230 switch (tcp->u_rval) {
1232 tcp->auxstr = "SIG_ERR"; break;
1234 tcp->auxstr = "SIG_DFL"; break;
1236 tcp->auxstr = "SIG_IGN"; break;
1238 tcp->auxstr = NULL;
1247 sys_sighold(tcp) in sys_sighold() argument
1248 struct tcb *tcp; in sys_sighold()
1250 if (entering(tcp)) {
1251 printsignal(tcp->u_arg[0]);
1262 sys_sigreturn(struct tcb *tcp) in sys_sigreturn() argument
1268 if (entering(tcp)) { in sys_sigreturn()
1269 tcp->u_arg[0] = 0; in sys_sigreturn()
1271 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1) in sys_sigreturn()
1274 if (umove(tcp, regs.ARM_sp, &sc) < 0) in sys_sigreturn()
1277 tcp->u_arg[0] = 1; in sys_sigreturn()
1278 tcp->u_arg[1] = sc.oldmask; in sys_sigreturn()
1281 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1282 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1283 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1285 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1293 if (entering(tcp)) { in sys_sigreturn()
1294 tcp->u_arg[0] = 0; in sys_sigreturn()
1295 if (upeek(tcp,PT_GPR15,&usp)<0) in sys_sigreturn()
1297 if (umove(tcp, usp+__SIGNAL_FRAMESIZE, &sc) < 0) in sys_sigreturn()
1299 tcp->u_arg[0] = 1; in sys_sigreturn()
1300 memcpy(&tcp->u_arg[1],&sc.oldmask[0],sizeof(sigset_t)); in sys_sigreturn()
1302 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1303 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1305 tcp->auxstr = sprintsigmask("mask now ",(sigset_t *)&tcp->u_arg[1],0); in sys_sigreturn()
1313 if (entering(tcp)) { in sys_sigreturn()
1314 tcp->u_arg[0] = 0; in sys_sigreturn()
1315 if (upeek(tcp, 4*UESP, &esp) < 0) in sys_sigreturn()
1317 if (umove(tcp, esp, &sc) < 0) in sys_sigreturn()
1319 tcp->u_arg[0] = 1; in sys_sigreturn()
1320 tcp->u_arg[1] = sc.oldmask; in sys_sigreturn()
1324 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1325 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1326 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1328 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1336 if (entering(tcp)) { in sys_sigreturn()
1339 tcp->u_arg[0] = 0; in sys_sigreturn()
1340 if (upeek(tcp, PT_R12, &sp) < 0) in sys_sigreturn()
1342 if (umove(tcp, sp + 16 + SIGFRAME_SC_OFFSET, &sc) < 0) in sys_sigreturn()
1344 tcp->u_arg[0] = 1; in sys_sigreturn()
1345 memcpy(tcp->u_arg + 1, &sc.sc_mask, sizeof(sc.sc_mask)); in sys_sigreturn()
1350 memcpy(&sigm, tcp->u_arg + 1, sizeof (sigm)); in sys_sigreturn()
1351 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1352 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1354 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1362 if (entering(tcp)) { in sys_sigreturn()
1363 tcp->u_arg[0] = 0; in sys_sigreturn()
1364 if (upeek(tcp, sizeof(unsigned long)*PT_R1, &esp) < 0) in sys_sigreturn()
1375 if (umove(tcp, esp, &sc) < 0) in sys_sigreturn()
1377 tcp->u_arg[0] = 1; in sys_sigreturn()
1378 tcp->u_arg[1] = sc.oldmask; in sys_sigreturn()
1382 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1383 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1384 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1386 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1394 if (entering(tcp)) { in sys_sigreturn()
1395 tcp->u_arg[0] = 0; in sys_sigreturn()
1396 if (upeek(tcp, 4*PT_USP, &usp) < 0) in sys_sigreturn()
1398 if (umove(tcp, usp, &sc) < 0) in sys_sigreturn()
1400 tcp->u_arg[0] = 1; in sys_sigreturn()
1401 tcp->u_arg[1] = sc.sc_mask; in sys_sigreturn()
1405 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1406 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1407 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1409 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1417 if (entering(tcp)) { in sys_sigreturn()
1418 tcp->u_arg[0] = 0; in sys_sigreturn()
1419 if (upeek(tcp, REG_FP, &fp) < 0) in sys_sigreturn()
1421 if (umove(tcp, fp, &sc) < 0) in sys_sigreturn()
1423 tcp->u_arg[0] = 1; in sys_sigreturn()
1424 tcp->u_arg[1] = sc.sc_mask; in sys_sigreturn()
1428 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1429 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1430 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1432 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1441 if(ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0) { in sys_sigreturn()
1445 if(entering(tcp)) { in sys_sigreturn()
1446 tcp->u_arg[0] = 0; in sys_sigreturn()
1448 if(umove(tcp, i1, &si) < 0) { in sys_sigreturn()
1452 tcp->u_arg[0] = 1; in sys_sigreturn()
1453 tcp->u_arg[1] = si.si_mask; in sys_sigreturn()
1456 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1457 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1458 if(tcp->u_arg[0] == 0) in sys_sigreturn()
1460 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1470 if(entering(tcp)) { in sys_sigreturn()
1471 tcp->u_arg[0] = 0; in sys_sigreturn()
1472 if (upeek(tcp, REG_SP, &sp) < 0) in sys_sigreturn()
1476 if (umove(tcp, sp, &uc) < 0) in sys_sigreturn()
1478 tcp->u_arg[0] = 1; in sys_sigreturn()
1479 tcp->u_arg[1] = *(long *) &uc.uc_sigmask; in sys_sigreturn()
1482 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1483 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1484 if(tcp->u_arg[0] == 0) in sys_sigreturn()
1486 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1495 if(ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0) { in sys_sigreturn()
1499 if(entering(tcp)) { in sys_sigreturn()
1500 tcp->u_arg[0] = 0; in sys_sigreturn()
1502 if (umove(tcp, sp, &si) < 0) in sys_sigreturn()
1503 tcp->u_arg[0] = 1; in sys_sigreturn()
1504 tcp->u_arg[1] = si.si_mask; in sys_sigreturn()
1507 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1508 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1509 if(tcp->u_arg[0] == 0) in sys_sigreturn()
1511 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1518 if (entering(tcp)) { in sys_sigreturn()
1521 tcp->u_arg[0] = 0; in sys_sigreturn()
1523 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (long)regs) < 0) { in sys_sigreturn()
1527 if (umove(tcp, regs[PT_USP], &sc) < 0) in sys_sigreturn()
1529 tcp->u_arg[0] = 1; in sys_sigreturn()
1530 tcp->u_arg[1] = sc.oldmask; in sys_sigreturn()
1533 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1534 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1536 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1538 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1549 if (entering(tcp)) { in sys_sigreturn()
1550 tcp->u_arg[0] = 0; in sys_sigreturn()
1551 if (upeek(tcp, PTREGS_OFFSET_SP, &sp) < 0) in sys_sigreturn()
1553 if (umove(tcp, sp + SIGFRAME_UC_OFFSET, &uc) < 0) in sys_sigreturn()
1555 tcp->u_arg[0] = 1; in sys_sigreturn()
1556 memcpy(tcp->u_arg + 1, &uc.uc_sigmask, sizeof(uc.uc_sigmask)); in sys_sigreturn()
1561 memcpy(&sigm, tcp->u_arg + 1, sizeof (sigm)); in sys_sigreturn()
1562 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1563 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1565 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1573 if (entering(tcp)) { in sys_sigreturn()
1576 tcp->u_arg[0] = 0; in sys_sigreturn()
1579 if (upeek(tcp, 1 * 4, &sp) < 0) in sys_sigreturn()
1581 if (umove(tcp, sp, &sc) < 0) in sys_sigreturn()
1583 tcp->u_arg[0] = 1; in sys_sigreturn()
1584 tcp->u_arg[1] = sc.oldmask; in sys_sigreturn()
1587 long_to_sigset(tcp->u_arg[1], &sigm); in sys_sigreturn()
1588 tcp->u_rval = tcp->u_error = 0; in sys_sigreturn()
1589 if (tcp->u_arg[0] == 0) in sys_sigreturn()
1591 tcp->auxstr = sprintsigmask("mask now ", &sigm, 0); in sys_sigreturn()
1603 sys_siggetmask(tcp) in sys_siggetmask() argument
1604 struct tcb *tcp; in sys_siggetmask()
1606 if (exiting(tcp)) {
1608 long_to_sigset(tcp->u_rval, &sigm);
1609 tcp->auxstr = sprintsigmask("mask ", &sigm, 0);
1615 sys_sigsuspend(struct tcb *tcp) in sys_sigsuspend() argument
1617 if (entering(tcp)) { in sys_sigsuspend()
1619 long_to_sigset(tcp->u_arg[2], &sigm); in sys_sigsuspend()
1630 sys_sigsuspend(tcp) in sys_sigsuspend() argument
1631 struct tcb *tcp; in sys_sigsuspend()
1635 if (entering(tcp)) {
1636 if (umove(tcp, tcp->u_arg[0], &sigset) < 0)
1685 printcontext(tcp, ucp) in printcontext() argument
1686 struct tcb *tcp; in printcontext()
1690 if (!abbrev(tcp)) {
1697 if (!abbrev(tcp)) {
1708 sys_getcontext(tcp) in sys_getcontext() argument
1709 struct tcb *tcp; in sys_getcontext()
1713 if (exiting(tcp)) {
1714 if (tcp->u_error)
1715 tprintf("%#lx", tcp->u_arg[0]);
1716 else if (!tcp->u_arg[0])
1718 else if (umove(tcp, tcp->u_arg[0], &uc) < 0)
1721 printcontext(tcp, &uc);
1727 sys_setcontext(tcp) in sys_setcontext() argument
1728 struct tcb *tcp; in sys_setcontext()
1732 if (entering(tcp)) {
1733 if (!tcp->u_arg[0])
1735 else if (umove(tcp, tcp->u_arg[0], &uc) < 0)
1738 printcontext(tcp, &uc);
1741 tcp->u_rval = tcp->u_error = 0;
1742 if (tcp->u_arg[0] == 0)
1754 print_stack_t(tcp, addr) in print_stack_t() argument
1755 struct tcb *tcp; in print_stack_t()
1759 if (umove(tcp, addr, &ss) < 0)
1768 sys_sigaltstack(tcp) in sys_sigaltstack() argument
1769 struct tcb *tcp; in sys_sigaltstack()
1771 if (entering(tcp)) {
1772 if (tcp->u_arg[0] == 0)
1774 else if (print_stack_t(tcp, tcp->u_arg[0]) < 0)
1779 if (tcp->u_arg[1] == 0)
1781 else if (print_stack_t(tcp, tcp->u_arg[1]) < 0)
1791 sys_sigprocmask(tcp) in sys_sigprocmask() argument
1792 struct tcb *tcp; in sys_sigprocmask()
1795 if (entering(tcp)) {
1796 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???");
1798 printsigmask(tcp->u_arg[1], 0);
1800 else if (!syserror(tcp)) {
1801 tcp->auxstr = sprintsigmask("old mask ", tcp->u_rval, 0);
1805 if (entering(tcp)) {
1807 if (tcp->u_arg[0] == 0)
1811 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???");
1813 print_sigset(tcp, tcp->u_arg[1], 0);
1817 if (!tcp->u_arg[2])
1819 else if (syserror(tcp))
1820 tprintf("%#lx", tcp->u_arg[2]);
1822 print_sigset(tcp, tcp->u_arg[2], 0);
1831 sys_kill(tcp) in sys_kill() argument
1832 struct tcb *tcp; in sys_kill()
1834 if (entering(tcp)) {
1838 long pid = tcp->u_arg[0];
1841 tprintf("%ld, %s", pid, signame(tcp->u_arg[1]));
1848 sys_killpg(tcp) in sys_killpg() argument
1849 struct tcb *tcp; in sys_killpg()
1851 return sys_kill(tcp);
1857 sys_tgkill(tcp) in sys_tgkill() argument
1858 struct tcb *tcp; in sys_tgkill()
1860 if (entering(tcp)) {
1862 tcp->u_arg[0], tcp->u_arg[1], signame(tcp->u_arg[2]));
1869 sys_sigpending(tcp) in sys_sigpending() argument
1870 struct tcb *tcp; in sys_sigpending()
1874 if (exiting(tcp)) {
1875 if (syserror(tcp))
1876 tprintf("%#lx", tcp->u_arg[0]);
1877 else if (copy_sigset(tcp, tcp->u_arg[0], &sigset) < 0)
1886 int sys_sigwait(tcp) in sys_sigwait() argument
1887 struct tcb *tcp; in sys_sigwait()
1891 if (entering(tcp)) {
1892 if (copy_sigset(tcp, tcp->u_arg[0], &sigset) < 0)
1898 if (!syserror(tcp)) {
1899 tcp->auxstr = signalent[tcp->u_rval];
1910 sys_rt_sigprocmask(tcp) in sys_rt_sigprocmask() argument
1911 struct tcb *tcp; in sys_rt_sigprocmask()
1916 if (entering(tcp)) {
1917 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???");
1919 if (!tcp->u_arg[1])
1921 else if (copy_sigset_len(tcp, tcp->u_arg[1], &sigset, tcp->u_arg[3]) < 0)
1922 tprintf("%#lx, ", tcp->u_arg[1]);
1929 if (!tcp->u_arg[2])
1932 else if (syserror(tcp))
1933 tprintf("%#lx", tcp->u_arg[2]);
1934 else if (copy_sigset_len(tcp, tcp->u_arg[2], &sigset, tcp->u_arg[3]) < 0)
1938 tprintf(", %lu", tcp->u_arg[3]);
1964 sys_rt_sigaction(struct tcb *tcp) in sys_rt_sigaction() argument
1971 if (entering(tcp)) { in sys_rt_sigaction()
1972 printsignal(tcp->u_arg[0]); in sys_rt_sigaction()
1974 addr = tcp->u_arg[1]; in sys_rt_sigaction()
1976 addr = tcp->u_arg[2]; in sys_rt_sigaction()
1982 if (!verbose(tcp)) { in sys_rt_sigaction()
1991 r = umove(tcp, addr, &sa32); in sys_rt_sigaction()
2010 r = umove(tcp, addr, &sa); in sys_rt_sigaction()
2039 if (tcp->u_arg[4] <= sizeof(sigset)) in sys_rt_sigaction()
2040 memcpy(&sigset, &sa.sa_mask, tcp->u_arg[4]); in sys_rt_sigaction()
2042 if (tcp->u_arg[3] <= sizeof(sigset)) in sys_rt_sigaction()
2043 memcpy(&sigset, &sa.sa_mask, tcp->u_arg[3]); in sys_rt_sigaction()
2057 if (entering(tcp)) in sys_rt_sigaction()
2061 tprintf(", %#lx, %lu", tcp->u_arg[3], tcp->u_arg[4]); in sys_rt_sigaction()
2063 tprintf(", %lu, %#lx", tcp->u_arg[3], tcp->u_arg[4]); in sys_rt_sigaction()
2065 tprintf(", %lu", tcp->u_arg[3]); in sys_rt_sigaction()
2071 sys_rt_sigpending(struct tcb *tcp) in sys_rt_sigpending() argument
2075 if (exiting(tcp)) { in sys_rt_sigpending()
2076 if (syserror(tcp)) in sys_rt_sigpending()
2077 tprintf("%#lx", tcp->u_arg[0]); in sys_rt_sigpending()
2078 else if (copy_sigset_len(tcp, tcp->u_arg[0], in sys_rt_sigpending()
2079 &sigset, tcp->u_arg[1]) < 0) in sys_rt_sigpending()
2088 sys_rt_sigsuspend(struct tcb *tcp) in sys_rt_sigsuspend() argument
2090 if (entering(tcp)) { in sys_rt_sigsuspend()
2092 if (copy_sigset_len(tcp, tcp->u_arg[0], &sigm, tcp->u_arg[1]) < 0) in sys_rt_sigsuspend()
2101 sys_rt_sigqueueinfo(struct tcb *tcp) in sys_rt_sigqueueinfo() argument
2103 if (entering(tcp)) { in sys_rt_sigqueueinfo()
2105 tprintf("%lu, ", tcp->u_arg[0]); in sys_rt_sigqueueinfo()
2106 printsignal(tcp->u_arg[1]); in sys_rt_sigqueueinfo()
2108 if (umove(tcp, tcp->u_arg[2], &si) < 0) in sys_rt_sigqueueinfo()
2109 tprintf("%#lx", tcp->u_arg[2]); in sys_rt_sigqueueinfo()
2111 printsiginfo(&si, verbose(tcp)); in sys_rt_sigqueueinfo()
2116 int sys_rt_sigtimedwait(struct tcb *tcp) in sys_rt_sigtimedwait() argument
2118 if (entering(tcp)) { in sys_rt_sigtimedwait()
2121 if (copy_sigset_len(tcp, tcp->u_arg[0], in sys_rt_sigtimedwait()
2122 &sigset, tcp->u_arg[3]) < 0) in sys_rt_sigtimedwait()
2128 if (tcp->u_arg[1] != 0) in sys_rt_sigtimedwait()
2133 else if (tcp->u_arg[1] != 0) { in sys_rt_sigtimedwait()
2135 if (syserror(tcp)) in sys_rt_sigtimedwait()
2136 tprintf("%#lx, ", tcp->u_arg[1]); in sys_rt_sigtimedwait()
2139 if (umove(tcp, tcp->u_arg[1], &si) < 0) in sys_rt_sigtimedwait()
2140 tprintf("%#lx, ", tcp->u_arg[1]); in sys_rt_sigtimedwait()
2142 printsiginfo(&si, verbose(tcp)); in sys_rt_sigtimedwait()
2151 print_timespec(tcp, tcp->u_arg[2]); in sys_rt_sigtimedwait()
2152 tprintf(", %d", (int) tcp->u_arg[3]); in sys_rt_sigtimedwait()
2157 sys_restart_syscall(struct tcb *tcp) in sys_restart_syscall() argument
2159 if (entering(tcp)) in sys_restart_syscall()
2165 do_signalfd(struct tcb *tcp, int flags_arg) in do_signalfd() argument
2167 if (entering(tcp)) { in do_signalfd()
2168 printfd(tcp, tcp->u_arg[0]); in do_signalfd()
2170 print_sigset(tcp, tcp->u_arg[1], 1); in do_signalfd()
2171 tprintf(", %lu", tcp->u_arg[2]); in do_signalfd()
2174 printflags(open_mode_flags, tcp->u_arg[flags_arg], "O_???"); in do_signalfd()
2181 sys_signalfd(struct tcb *tcp) in sys_signalfd() argument
2183 return do_signalfd(tcp, -1); in sys_signalfd()
2187 sys_signalfd4(struct tcb *tcp) in sys_signalfd4() argument
2189 return do_signalfd(tcp, 3); in sys_signalfd4()