HomeFreeBSD

Fixes for ptrace_syscallreq()

Description

Fixes for ptrace_syscallreq()

Re-assign the sc local (syscall number) before moving args for SYS_syscall.
Correct the audit and kdtrace hooks invocations.

Fixes: 140ceb5d956bb8795a77c23d3fd5ef047b0f3c68
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Dec 22 2022, 11:51 PM
Parents
rG6403a140243d: tools/test/ptrace: update scescx to do remote getpid(2) on each SCX event
Branches
Unknown
Tags
Unknown