HomeFreeBSD

Export current system call code and argument count for system call entry

Description

Export current system call code and argument count for system call entry
and exit events. procfs stop events for system call tracing report these
values (argument count for system call entry and code for system call exit),
but ptrace() does not provide this information. (Note that while the system
call code can be determined in an ABI-specific manner during system call
entry, it is not generally available during system call exit.)

The values are exported via new fields at the end of struct ptrace_lwpinfo
available via PT_LWPINFO.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D3536

Details

Provenance
jhbAuthored on
Reviewer
kib
Differential Revision
D3536: Export current system call code and argument count for SCE and SCX events.
Parents
rS287385: Bump version for prior fix (SVN r287381)
Branches
Unknown
Tags
Unknown