Add a missing PROC_UNLOCK in ptrace() for the PT_IO case.
PR: kern/44065 Submitted by: Mark Kettenis <kettenis@chello.nl>
This commit is contained in:
parent
86cb4f38ac
commit
4946fba66e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user