diff options
-rw-r--r-- | sys/kern/sys_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 521ba6a..c3c5414 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -647,6 +647,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) return (error); case PT_IO: + PROC_UNLOCK(p); piod = addr; iov.iov_base = piod->piod_addr; iov.iov_len = piod->piod_len; |