aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-07-15 21:48:02 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-07-15 21:48:02 +0000
commit32451fb9fc71518dd5cf58a06d217eaa777e0206 (patch)
treea0db97356f121a565695a1690ee9c34645004bbb /crypto
parent0cc1098a1a6b8353da73ee579091d399652aa57c (diff)
downloadsrc-32451fb9fc71518dd5cf58a06d217eaa777e0206.tar.gz
src-32451fb9fc71518dd5cf58a06d217eaa777e0206.zip
Add ptrace op PT_GET_SC_RET.
This ptrace operation returns a structure containing the error and return values from the current system call. It is only valid when a thread is stopped during a system call exit (PL_FLAG_SCX is set). The sr_error member holds the error value from the system call. Note that this error value is the native FreeBSD error value that has _not_ been translated to an ABI-specific error value similar to the values logged to ktrace. If sr_error is zero, then the return values of the system call will be set in sr_retval[0] and sr_retval[1]. Reviewed by: kib MFC after: 1 month Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D20901
Notes
Notes: svn path=/head/; revision=350017
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions