Relock PROC_LOCK before one failure case in ptrace_single_step().
authorjhb <jhb@FreeBSD.org>
Tue, 24 Apr 2018 05:42:10 +0000 (05:42 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 24 Apr 2018 05:42:10 +0000 (05:42 +0000)
commitf1d5ce48f8a27c9b12c78acb4fd45c702f9f76f5
tree6c4ec7cbdb55f8b852e7d39e4c97151436f83d01
parent089cc5e679d0daf1507b68467d4bd99b9d8e06e4
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.
sys/mips/mips/pm_machdep.c