summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-10-16 16:28:33 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-10-16 16:28:33 +0000
commit5c0cc63c405235820870f7f037a1795f1172d1ab (patch)
tree68cee2157f61e44a9aa5f80aa671652f91d17c89
parent3a3ae877a4517ba94d7cc2df83de60d7d54e6339 (diff)
Notes
-rw-r--r--sys/kern/sys_process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 521ba6a02b23..c3c54145de32 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;