We use proc_rwmem (with the correct number of args) rather than procfs_domem

in the new world order or procfs.

Submitted by:	des
This commit is contained in:
David E. O'Brien 2001-10-11 21:17:31 +00:00
parent d2b4566aa6
commit 14a4ecde9e

View File

@ -1640,7 +1640,7 @@ ptrace_read_int(struct thread *td, vm_offset_t addr, u_int32_t *v)
uio.uio_segflg = UIO_SYSSPACE;
uio.uio_rw = UIO_READ;
uio.uio_td = td;
return procfs_domem(curproc, td->td_proc, NULL, &uio);
return proc_rwmem(td->td_proc, &uio);
}
static int
@ -1657,7 +1657,7 @@ ptrace_write_int(struct thread *td, vm_offset_t addr, u_int32_t v)
uio.uio_segflg = UIO_SYSSPACE;
uio.uio_rw = UIO_WRITE;
uio.uio_td = td;
return procfs_domem(curproc, td->td_proc, NULL, &uio);
return proc_rwmem(td->td_proc, &uio);
}
static u_int64_t