Lines Matching refs:tcp
80 print_prctl_args(struct tcb *tcp, const unsigned int first) in print_prctl_args() argument
84 for (i = first; i < tcp->s_ent->nargs; ++i) in print_prctl_args()
85 tprintf(", %#" PRI_klx, tcp->u_arg[i]); in print_prctl_args()
106 const unsigned int option = tcp->u_arg[0]; in SYS_FUNC()
107 const kernel_ulong_t arg2 = tcp->u_arg[1]; in SYS_FUNC()
108 const kernel_ulong_t arg3 = tcp->u_arg[2]; in SYS_FUNC()
114 const kernel_ulong_t arg4 = tcp->u_arg[3]; in SYS_FUNC()
115 const kernel_ulong_t arg5 = tcp->u_arg[4]; in SYS_FUNC()
119 if (entering(tcp)) in SYS_FUNC()
133 if (entering(tcp)) in SYS_FUNC()
136 printnum_int(tcp, arg2, "%u"); in SYS_FUNC()
140 if (entering(tcp)) in SYS_FUNC()
142 if (syserror(tcp)) in SYS_FUNC()
144 tcp->auxstr = xlookup(pr_dumpable, (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
148 if (entering(tcp)) { in SYS_FUNC()
151 if (syserror(tcp)) in SYS_FUNC()
154 printstr_ex(tcp, arg2, TASK_COMM_LEN, in SYS_FUNC()
160 if (entering(tcp)) { in SYS_FUNC()
162 } else if (!umove_or_printaddr(tcp, arg2, &i)) { in SYS_FUNC()
170 if (entering(tcp)) in SYS_FUNC()
172 if (syserror(tcp) || tcp->u_rval == 0) in SYS_FUNC()
174 tcp->auxstr = sprintflags("", secbits, in SYS_FUNC()
175 (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
179 if (entering(tcp)) in SYS_FUNC()
182 printnum_kptr(tcp, arg2); in SYS_FUNC()
186 if (entering(tcp)) { in SYS_FUNC()
188 } else if (!umove_or_printaddr(tcp, arg2, &i)) { in SYS_FUNC()
196 if (entering(tcp)) { in SYS_FUNC()
198 } else if (!umove_or_printaddr(tcp, arg2, &i)) { in SYS_FUNC()
206 if (entering(tcp)) in SYS_FUNC()
208 if (syserror(tcp) || tcp->u_rval == 0) in SYS_FUNC()
210 tcp->auxstr = sprintflags("", pr_fp_mode, in SYS_FUNC()
211 (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
215 if (entering(tcp)) { in SYS_FUNC()
222 if (entering(tcp)) in SYS_FUNC()
224 if (syserror(tcp) || tcp->u_rval == 0) in SYS_FUNC()
227 tcp->auxstr = sprint_sve_val(tcp->u_rval); in SYS_FUNC()
232 if (entering(tcp)) { in SYS_FUNC()
239 if (syserror(tcp)) in SYS_FUNC()
244 tcp->auxstr = sprintflags("", in SYS_FUNC()
246 (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
287 print_prctl_args(tcp, 3); in SYS_FUNC()
290 print_prctl_args(tcp, 2); in SYS_FUNC()
304 print_prctl_args(tcp, 3); in SYS_FUNC()
309 printstr_ex(tcp, arg2, TASK_COMM_LEN - 1, in SYS_FUNC()
321 printstr(tcp, arg5); in SYS_FUNC()
325 print_prctl_args(tcp, 1); in SYS_FUNC()
333 print_prctl_args(tcp, 2); in SYS_FUNC()
362 decode_seccomp_fprog(tcp, arg3); in SYS_FUNC()
365 print_prctl_args(tcp, 2); in SYS_FUNC()
390 print_prctl_args(tcp, 2); in SYS_FUNC()
394 if (entering(tcp)) { in SYS_FUNC()
395 print_prctl_args(tcp, 1); in SYS_FUNC()
398 if (syserror(tcp)) in SYS_FUNC()
400 tcp->auxstr = xlookup(pr_mce_kill_policy, in SYS_FUNC()
401 (kernel_ulong_t) tcp->u_rval); in SYS_FUNC()
431 print_prctl_args(tcp, 1); in SYS_FUNC()
442 const unsigned int option = tcp->u_arg[0]; in SYS_FUNC()
443 const kernel_ulong_t addr = tcp->u_arg[1]; in SYS_FUNC()
445 if (entering(tcp)) in SYS_FUNC()
451 if (entering(tcp)) in SYS_FUNC()
454 printnum_ptr(tcp, addr); in SYS_FUNC()