Home
last modified time | relevance | path

Searched refs:sr_error (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/compat/linux/
H A Dlinux_ptrace.c416 if (sr.sr_error == 0) { in linux_ptrace_get_syscall_info()
419 } else if (sr.sr_error == EJUSTRETURN) { in linux_ptrace_get_syscall_info()
428 } else if (sr.sr_error == ERESTART) { in linux_ptrace_get_syscall_info()
432 si.exit.rval = bsd_to_linux_errno(sr.sr_error); in linux_ptrace_get_syscall_info()
/freebsd/sys/netsmb/
H A Dsmb_rq.h95 u_int32_t sr_error; member
H A Dsmb_usr.c274 dp->ioc_error = rqp->sr_error; in smb_usr_simplerequest()
H A Dsmb_rq.c334 error = md_get_uint32le(mdp, &rqp->sr_error); in smb_rq_reply()
/freebsd/sys/sys/
H A Dptrace.h164 int sr_error; member
/freebsd/usr.bin/truss/
H A Dsetup.c560 if (psr.sr_error != 0) { in exit_syscall()
571 print_syscall_ret(info, psr.sr_error, psr.sr_retval); in exit_syscall()
/freebsd/tools/test/ptrace/
H A Dscescx.c285 pscr.pscr_ret.sr_retval[0], pscr.pscr_ret.sr_error); in trace_sc()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h495 int sr_error; member
H A Dfreebsd32_misc.c970 psr32->sr_error = psr->sr_error; in ptrace_sc_ret_to32()
/freebsd/sys/kern/
H A Dsys_process.c1197 psr->sr_error = td2->td_errno; in kern_ptrace()
1198 if (psr->sr_error == 0) { in kern_ptrace()
1204 p->p_pid, psr->sr_error, psr->sr_retval[0], in kern_ptrace()
H A Dkern_sig.c2663 tsr->ts_ret.sr_error = ENOSYS; in ptrace_syscallreq()
2689 tsr->ts_ret.sr_error = ECAPMODE; in ptrace_syscallreq()
2702 tsr->ts_ret.sr_error = error; in ptrace_syscallreq()
2717 tsr->ts_ret.sr_error = se->sy_call(td, tsr->ts_sa.args); in ptrace_syscallreq()
2721 tsr->ts_ret.sr_error != 0 ? -1 : td->td_retval[0]); in ptrace_syscallreq()
/freebsd/tests/sys/kern/
H A Dptrace_test.c4067 REQUIRE_EQ(psr.sr_error, 0); in ATF_TC_BODY()
4106 REQUIRE_EQ(psr.sr_error, 0); in ATF_TC_BODY()
4143 REQUIRE_EQ(psr.sr_error, EBADF); in ATF_TC_BODY()
4341 ATF_REQUIRE_MSG(pscr.pscr_ret.sr_error == 0, in ATF_TC_BODY()
4342 "remote getpid failed with error %d", pscr.pscr_ret.sr_error); in ATF_TC_BODY()
4357 ATF_REQUIRE_MSG(pscr.pscr_ret.sr_error == 0, in ATF_TC_BODY()
4358 "remote getppid failed with error %d", pscr.pscr_ret.sr_error); in ATF_TC_BODY()