• Home
  • Raw
  • Download

Lines Matching refs:u_arg

137 		printxval(prctl_options, tcp->u_arg[0], "PR_???");  in sys_prctl()
138 switch (tcp->u_arg[0]) { in sys_prctl()
145 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl()
154 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl()
163 tprintf(", %s", unalignctl_string(tcp->u_arg[1])); in sys_prctl()
168 tprintf(", %#lx", tcp->u_arg[1]); in sys_prctl()
173 tprintf(", %lu", tcp->u_arg[1]); in sys_prctl()
182 tprintf(", %#lx", tcp->u_arg[i]); in sys_prctl()
186 switch (tcp->u_arg[0]) { in sys_prctl()
189 if (umove(tcp, tcp->u_arg[1], &i) < 0) in sys_prctl()
190 tprintf(", %#lx", tcp->u_arg[1]); in sys_prctl()
201 if (syserror(tcp) || umove(tcp, tcp->u_arg[1], &i) < 0) in sys_prctl()
222 printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]); in sys_sethostname()
223 tprintf(", %lu", tcp->u_arg[1]); in sys_sethostname()
234 tprintf("%#lx", tcp->u_arg[0]); in sys_gethostname()
236 printstr(tcp, tcp->u_arg[0], -1); in sys_gethostname()
237 tprintf(", %lu", tcp->u_arg[1]); in sys_gethostname()
247 printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]); in sys_setdomainname()
248 tprintf(", %lu", tcp->u_arg[1]); in sys_setdomainname()
261 tprintf("%ld) ", tcp->u_arg[0]); in sys_exit()
341 unsigned long flags = tcp->u_arg[ARG_FLAGS]; in sys_clone()
342 tprintf("child_stack=%#lx, ", tcp->u_arg[ARG_STACK]); in sys_clone()
346 tcp->u_arg[ARG_STACKSIZE]); in sys_clone()
357 tprintf(", parent_tidptr=%#lx", tcp->u_arg[ARG_PTID]); in sys_clone()
365 print_user_desc(tcp, tcp->u_arg[ARG_TLS]); in sys_clone()
371 tprintf(", tls=%#lx", tcp->u_arg[ARG_TLS]); in sys_clone()
374 tprintf(", child_tidptr=%#lx", tcp->u_arg[ARG_CTID]); in sys_clone()
395 printfd(tcp, tcp->u_arg[0]); in sys_setns()
397 printflags(clone_flags, tcp->u_arg[1], "CLONE_???"); in sys_setns()
406 printflags(clone_flags, tcp->u_arg[0], "CLONE_???"); in sys_unshare()
428 tprintf("%u", (uid_t) tcp->u_arg[0]); in sys_setfsuid()
438 tprintf("%u", (uid_t) tcp->u_arg[0]); in sys_setuid()
449 tprintf("%#lx, %#lx, %#lx", tcp->u_arg[0], in sys_getresuid()
450 tcp->u_arg[1], tcp->u_arg[2]); in sys_getresuid()
452 if (umove(tcp, tcp->u_arg[0], &uid) < 0) in sys_getresuid()
453 tprintf("%#lx, ", tcp->u_arg[0]); in sys_getresuid()
456 if (umove(tcp, tcp->u_arg[1], &uid) < 0) in sys_getresuid()
457 tprintf("%#lx, ", tcp->u_arg[1]); in sys_getresuid()
460 if (umove(tcp, tcp->u_arg[2], &uid) < 0) in sys_getresuid()
461 tprintf("%#lx", tcp->u_arg[2]); in sys_getresuid()
473 printuid("", tcp->u_arg[0]); in sys_setreuid()
474 printuid(", ", tcp->u_arg[1]); in sys_setreuid()
483 printuid("", tcp->u_arg[0]); in sys_setresuid()
484 printuid(", ", tcp->u_arg[1]); in sys_setresuid()
485 printuid(", ", tcp->u_arg[2]); in sys_setresuid()
498 len = tcp->u_arg[0]; in sys_setgroups()
504 start = tcp->u_arg[1]; in sys_setgroups()
539 tprintf(" %#lx", tcp->u_arg[1]); in sys_setgroups()
550 len = tcp->u_arg[0]; in sys_getgroups()
562 start = tcp->u_arg[1]; in sys_getgroups()
567 if (tcp->u_arg[0] == 0) { in sys_getgroups()
573 if (!verbose(tcp) || tcp->u_arg[0] == 0 || in sys_getgroups()
602 tprintf(" %#lx", tcp->u_arg[1]); in sys_getgroups()
615 len = tcp->u_arg[0]; in sys_setgroups32()
621 start = tcp->u_arg[1]; in sys_setgroups32()
656 tprintf(" %#lx", tcp->u_arg[1]); in sys_setgroups32()
667 len = tcp->u_arg[0]; in sys_getgroups32()
679 start = tcp->u_arg[1]; in sys_getgroups32()
686 if (!verbose(tcp) || tcp->u_arg[0] == 0 || in sys_getgroups32()
715 tprintf(" %#lx", tcp->u_arg[1]); in sys_getgroups32()
767 printpath(tcp, tcp->u_arg[0]); in sys_execv()
769 tprintf(", %#lx", tcp->u_arg[1]); in sys_execv()
772 printargv(tcp, tcp->u_arg[1]); in sys_execv()
784 printpath(tcp, tcp->u_arg[0]); in sys_execve()
786 tprintf(", %#lx", tcp->u_arg[1]); in sys_execve()
789 printargv(tcp, tcp->u_arg[1]); in sys_execve()
793 tprintf(", %#lx", tcp->u_arg[2]); in sys_execve()
795 printargc(", [/* %d var%s */]", tcp, tcp->u_arg[2]); in sys_execve()
798 printargv(tcp, tcp->u_arg[2]); in sys_execve()
885 int pid = tcp->u_arg[0]; in printwaitn()
889 if (!tcp->u_arg[1]) in printwaitn()
892 tprintf("%#lx", tcp->u_arg[1]); in printwaitn()
893 else if (umove(tcp, tcp->u_arg[1], &status) < 0) in printwaitn()
899 printflags(wait4_options, tcp->u_arg[2], "W???"); in printwaitn()
903 if (!tcp->u_arg[3]) in printwaitn()
908 printrusage32(tcp, tcp->u_arg[3]); in printwaitn()
911 printrusage(tcp, tcp->u_arg[3]); in printwaitn()
914 tprintf("%#lx", tcp->u_arg[3]); in printwaitn()
946 printxval(waitid_types, tcp->u_arg[0], "P_???"); in sys_waitid()
947 tprintf(", %ld, ", tcp->u_arg[1]); in sys_waitid()
951 printsiginfo_at(tcp, tcp->u_arg[2]); in sys_waitid()
954 printflags(wait4_options, tcp->u_arg[3], "W???"); in sys_waitid()
958 if (!tcp->u_arg[4]) in sys_waitid()
961 tprintf("%#lx", tcp->u_arg[4]); in sys_waitid()
963 printrusage(tcp, tcp->u_arg[4]); in sys_waitid()
976 tprintf("%#lx", tcp->u_arg[0]); in sys_uname()
977 else if (umove(tcp, tcp->u_arg[0], &uname) < 0) in sys_uname()
2109 printxval(ptrace_cmds, tcp->u_arg[0], "PTRACE_???"); in sys_ptrace()
2110 tprintf(", %lu, ", tcp->u_arg[1]); in sys_ptrace()
2112 addr = tcp->u_arg[2]; in sys_ptrace()
2113 if (tcp->u_arg[0] == PTRACE_PEEKUSER in sys_ptrace()
2114 || tcp->u_arg[0] == PTRACE_POKEUSER in sys_ptrace()
2130 if (tcp->u_arg[0] == PTRACE_GETREGSET in sys_ptrace()
2131 || tcp->u_arg[0] == PTRACE_SETREGSET in sys_ptrace()
2133 printxval(nt_descriptor_types, tcp->u_arg[2], "NT_???"); in sys_ptrace()
2140 switch (tcp->u_arg[0]) { in sys_ptrace()
2151 printsignal(tcp->u_arg[3]); in sys_ptrace()
2155 printflags(ptrace_setoptions_flags, tcp->u_arg[3], "PTRACE_O_???"); in sys_ptrace()
2160 printsiginfo_at(tcp, tcp->u_arg[3]); in sys_ptrace()
2173 tprint_iov(tcp, /*len:*/ 1, tcp->u_arg[3], /*as string:*/ 0); in sys_ptrace()
2177 tprintf("%#lx", tcp->u_arg[3]); in sys_ptrace()
2181 switch (tcp->u_arg[0]) { in sys_ptrace()
2188 printnum(tcp, tcp->u_arg[3], "%#lx"); in sys_ptrace()
2193 printsiginfo_at(tcp, tcp->u_arg[3]); in sys_ptrace()
2199 tprint_iov(tcp, /*len:*/ 1, tcp->u_arg[3], /*as string:*/ 0); in sys_ptrace()
2293 long int cmd = tcp->u_arg[1] & 127; in sys_futex()
2294 tprintf("%p, ", (void *) tcp->u_arg[0]); in sys_futex()
2295 printxval(futexops, tcp->u_arg[1], "FUTEX_???"); in sys_futex()
2296 tprintf(", %ld", tcp->u_arg[2]); in sys_futex()
2298 tprintf(", %lx", tcp->u_arg[5]); in sys_futex()
2301 printtv(tcp, tcp->u_arg[3]); in sys_futex()
2304 printtv(tcp, tcp->u_arg[3]); in sys_futex()
2305 tprintf(", %lx", tcp->u_arg[5]); in sys_futex()
2307 tprintf(", %ld, %p", tcp->u_arg[3], (void *) tcp->u_arg[4]); in sys_futex()
2309 tprintf(", %ld, %p, %ld", tcp->u_arg[3], (void *) tcp->u_arg[4], tcp->u_arg[5]); in sys_futex()
2311 tprintf(", %ld, %p, {", tcp->u_arg[3], (void *) tcp->u_arg[4]); in sys_futex()
2312 if ((tcp->u_arg[5] >> 28) & 8) in sys_futex()
2314 printxval(futexwakeops, (tcp->u_arg[5] >> 28) & 0x7, "FUTEX_OP_???"); in sys_futex()
2315 tprintf(", %ld, ", (tcp->u_arg[5] >> 12) & 0xfff); in sys_futex()
2316 if ((tcp->u_arg[5] >> 24) & 8) in sys_futex()
2318 printxval(futexwakecmps, (tcp->u_arg[5] >> 24) & 0x7, "FUTEX_OP_CMP_???"); in sys_futex()
2319 tprintf(", %ld}", tcp->u_arg[5] & 0xfff); in sys_futex()
2322 printtv(tcp, tcp->u_arg[3]); in sys_futex()
2323 tprintf(", %p", (void *) tcp->u_arg[4]); in sys_futex()
2365 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_sched_setaffinity()
2366 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_arg[1]); in sys_sched_setaffinity()
2375 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]); in sys_sched_getaffinity()
2378 tprintf("%#lx", tcp->u_arg[2]); in sys_sched_getaffinity()
2380 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_rval); in sys_sched_getaffinity()
2389 tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]); in sys_get_robust_list()
2395 !tcp->u_arg[1] || in sys_get_robust_list()
2396 umove(tcp, tcp->u_arg[1], &addr) < 0) { in sys_get_robust_list()
2397 tprintf("%#lx, ", tcp->u_arg[1]); in sys_get_robust_list()
2403 !tcp->u_arg[2] || in sys_get_robust_list()
2404 umove(tcp, tcp->u_arg[2], &len) < 0) { in sys_get_robust_list()
2405 tprintf("%#lx", tcp->u_arg[2]); in sys_get_robust_list()
2419 tprintf("%d", (int) tcp->u_arg[0]); in sys_sched_getscheduler()
2433 tprintf("%d, ", (int) tcp->u_arg[0]); in sys_sched_setscheduler()
2434 printxval(schedulers, tcp->u_arg[1], "SCHED_???"); in sys_sched_setscheduler()
2435 if (umove(tcp, tcp->u_arg[2], &p) < 0) in sys_sched_setscheduler()
2436 tprintf(", %#lx", tcp->u_arg[2]); in sys_sched_setscheduler()
2447 tprintf("%d, ", (int) tcp->u_arg[0]); in sys_sched_getparam()
2450 if (umove(tcp, tcp->u_arg[1], &p) < 0) in sys_sched_getparam()
2451 tprintf("%#lx", tcp->u_arg[1]); in sys_sched_getparam()
2463 if (umove(tcp, tcp->u_arg[1], &p) < 0) in sys_sched_setparam()
2464 tprintf("%d, %#lx", (int) tcp->u_arg[0], tcp->u_arg[1]); in sys_sched_setparam()
2466 tprintf("%d, { %d }", (int) tcp->u_arg[0], p.sched_priority); in sys_sched_setparam()
2475 printxval(schedulers, tcp->u_arg[0], "SCHED_???"); in sys_sched_get_priority_min()
2484 tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]); in sys_sched_rr_get_interval()
2487 tprintf("%#lx", tcp->u_arg[1]); in sys_sched_rr_get_interval()
2489 print_timespec(tcp, tcp->u_arg[1]); in sys_sched_rr_get_interval()
2503 printxval(archvals, tcp->u_arg[0], "ARCH_???"); in sys_arch_prctl()
2504 if (tcp->u_arg[0] == ARCH_SET_GS in sys_arch_prctl()
2505 || tcp->u_arg[0] == ARCH_SET_FS in sys_arch_prctl()
2507 tprintf(", %#lx", tcp->u_arg[1]); in sys_arch_prctl()
2510 if (tcp->u_arg[0] == ARCH_GET_GS in sys_arch_prctl()
2511 || tcp->u_arg[0] == ARCH_GET_FS in sys_arch_prctl()
2514 if (!syserror(tcp) && umove(tcp, tcp->u_arg[1], &v) != -1) in sys_arch_prctl()
2517 tprintf(", %#lx", tcp->u_arg[1]); in sys_arch_prctl()
2529 if (tcp->u_arg[0] == 0) in sys_getcpu()
2531 else if (umove(tcp, tcp->u_arg[0], &u) < 0) in sys_getcpu()
2532 tprintf("%#lx, ", tcp->u_arg[0]); in sys_getcpu()
2535 if (tcp->u_arg[1] == 0) in sys_getcpu()
2537 else if (umove(tcp, tcp->u_arg[1], &u) < 0) in sys_getcpu()
2538 tprintf("%#lx, ", tcp->u_arg[1]); in sys_getcpu()
2541 tprintf("%#lx", tcp->u_arg[2]); in sys_getcpu()
2551 tprintf("%ld, ", tcp->u_arg[0]); in sys_process_vm_readv()
2555 tprintf("%#lx", tcp->u_arg[1]); in sys_process_vm_readv()
2557 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in sys_process_vm_readv()
2560 tprintf(", %lu, ", tcp->u_arg[2]); in sys_process_vm_readv()
2563 tprintf("%#lx", tcp->u_arg[3]); in sys_process_vm_readv()
2565 tprint_iov(tcp, tcp->u_arg[4], tcp->u_arg[3], 0); in sys_process_vm_readv()
2569 tprintf(", %lu, %lu", tcp->u_arg[4], tcp->u_arg[5]); in sys_process_vm_readv()
2579 tprintf("%ld, ", tcp->u_arg[0]); in sys_process_vm_writev()
2582 tprintf("%#lx", tcp->u_arg[1]); in sys_process_vm_writev()
2584 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in sys_process_vm_writev()
2586 tprintf(", %lu, ", tcp->u_arg[2]); in sys_process_vm_writev()
2589 tprintf("%#lx", tcp->u_arg[3]); in sys_process_vm_writev()
2591 tprint_iov(tcp, tcp->u_arg[4], tcp->u_arg[3], 0); in sys_process_vm_writev()
2594 tprintf(", %lu, %lu", tcp->u_arg[4], tcp->u_arg[5]); in sys_process_vm_writev()