Home
last modified time | relevance | path

Searched refs:kern_ptrace (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/compat/linux/
H A Dlinux_ptrace.c130 error = kern_ptrace(td, PT_LWPINFO, pid, &lwpinfo, sizeof(lwpinfo)); in linux_ptrace_status()
164 error = kern_ptrace(td, PT_READ_I, pid, addr, 0); in linux_ptrace_peek()
225 return (kern_ptrace(td, PT_SET_EVENT_MASK, pid, &mask, sizeof(mask))); in linux_ptrace_setoptions()
243 error = kern_ptrace(td, PT_LWPINFO, pid, &lwpinfo, sizeof(lwpinfo)); in linux_ptrace_getsiginfo()
269 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); in linux_ptrace_getregs()
293 error = kern_ptrace(td, PT_SETREGS, pid, &b_reg, 0); in linux_ptrace_setregs()
312 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); in linux_ptrace_getregset_prstatus()
378 error = kern_ptrace(td, PT_LWPINFO, pid, &lwpinfo, sizeof(lwpinfo)); in linux_ptrace_get_syscall_info()
399 error = kern_ptrace(td, PT_GET_SC_ARGS, pid, in linux_ptrace_get_syscall_info()
408 error = kern_ptrace(td, PT_GET_SC_RET, pid, &sr, sizeof(sr)); in linux_ptrace_get_syscall_info()
[all …]
/freebsd/sys/i386/linux/
H A Dlinux_ptrace_machdep.c262 error = kern_ptrace(td, req, pid, addr, uap->data); in linux_ptrace()
268 error = kern_ptrace(td, req, pid, addr, 0); in linux_ptrace()
276 error = kern_ptrace(td, PT_DETACH, pid, (void *)1, in linux_ptrace()
281 error = kern_ptrace(td, req, pid, (void *)1, in linux_ptrace()
285 error = kern_ptrace(td, PT_ATTACH, pid, addr, uap->data); in linux_ptrace()
289 error = kern_ptrace(td, PT_GETREGS, pid, &u.bsd_reg, 0); in linux_ptrace()
301 error = kern_ptrace(td, PT_SETREGS, pid, &u.bsd_reg, 0); in linux_ptrace()
306 error = kern_ptrace(td, PT_GETFPREGS, pid, &u.bsd_fpreg, 0); in linux_ptrace()
318 error = kern_ptrace(td, PT_SETFPREGS, pid, in linux_ptrace()
416 error = kern_ptrace(t in linux_ptrace()
[all...]
/freebsd/sys/amd64/linux/
H A Dlinux_machdep.c309 error = kern_ptrace(td, PT_LWPINFO, pid, &lwpinfo, sizeof(lwpinfo)); in linux_ptrace_getregs_machdep()
345 return (kern_ptrace(td, PT_GETFSBASE, pid, data, 0)); in linux_ptrace_peekuser()
347 return (kern_ptrace(td, PT_GETGSBASE, pid, data, 0)); in linux_ptrace_peekuser()
348 if ((error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0)) != 0) in linux_ptrace_peekuser()
410 return (kern_ptrace(td, PT_SETFSBASE, pid, data, 0)); in linux_ptrace_pokeuser()
412 return (kern_ptrace(td, PT_SETGSBASE, pid, data, 0)); in linux_ptrace_pokeuser()
421 if ((error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0)) != 0) in linux_ptrace_pokeuser()
428 return (kern_ptrace(td, PT_SETREGS, pid, &b_reg, 0)); in linux_ptrace_pokeuser()
/freebsd/sys/kern/
H A Dsys_process.c699 error = kern_ptrace(td, uap->req, uap->pid, addr, uap->data); in sys_ptrace()
843 kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) in kern_ptrace() function
/freebsd/sys/sys/
H A Dsyscallsubr.h292 int kern_ptrace(struct thread *td, int req, pid_t pid, void *addr,
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c1188 error = kern_ptrace(td, uap->req, uap->pid, addr, data); in freebsd32_ptrace()