Lines Matching refs:uap
454 linux_ptrace(struct thread *td, struct linux_ptrace_args *uap) in linux_ptrace() argument
463 pid = (pid_t)uap->pid; in linux_ptrace()
464 addr = (void *)uap->addr; in linux_ptrace()
466 switch (uap->req) { in linux_ptrace()
472 error = linux_ptrace_peek(td, pid, addr, (void *)uap->data); in linux_ptrace()
479 (void *)(uap->addr + 4), (void *)(uap->data + 4)); in linux_ptrace()
482 error = linux_ptrace_peekuser(td, pid, addr, (void *)uap->data); in linux_ptrace()
486 error = kern_ptrace(td, PT_WRITE_D, pid, addr, uap->data); in linux_ptrace()
493 (void *)(uap->addr + 4), uap->data >> 32); in linux_ptrace()
496 error = linux_ptrace_pokeuser(td, pid, addr, (void *)uap->data); in linux_ptrace()
499 error = map_signum(uap->data, &sig); in linux_ptrace()
505 error = kern_ptrace(td, PT_KILL, pid, addr, uap->data); in linux_ptrace()
508 error = map_signum(uap->data, &sig); in linux_ptrace()
514 error = linux_ptrace_getregs(td, pid, (void *)uap->data); in linux_ptrace()
517 error = linux_ptrace_setregs(td, pid, (void *)uap->data); in linux_ptrace()
520 error = kern_ptrace(td, PT_ATTACH, pid, addr, uap->data); in linux_ptrace()
523 error = map_signum(uap->data, &sig); in linux_ptrace()
529 error = map_signum(uap->data, &sig); in linux_ptrace()
535 error = linux_ptrace_setoptions(td, pid, uap->data); in linux_ptrace()
538 error = linux_ptrace_geteventmsg(td, pid, uap->data); in linux_ptrace()
541 error = linux_ptrace_getsiginfo(td, pid, uap->data); in linux_ptrace()
544 error = linux_ptrace_getregset(td, pid, uap->addr, uap->data); in linux_ptrace()
547 error = linux_ptrace_seize(td, pid, uap->addr, uap->data); in linux_ptrace()
550 error = linux_ptrace_get_syscall_info(td, pid, uap->addr, uap->data); in linux_ptrace()
554 "returning EINVAL", uap->req); in linux_ptrace()