HomeFreeBSD

Relock PROC_LOCK before one failure case in ptrace_single_step().

Description

Relock PROC_LOCK before one failure case in ptrace_single_step().

The MIPS ptrace_single_step() unlocks the PROC_LOCK while reading and
writing instructions from userland. One failure case was not reacquiring
the lock before returning.

Details

Provenance
jhbAuthored on
Parents
rS332909: Report proper signal codes for SIGTRAP traps on MIPS.
Branches
Unknown
Tags
Unknown