uiomove() asserts against this.
proc_iop() already asserts this, but maybe it should be a runtime check.
While here, avoid truncting uio_resid in proc_rwmem().
Differential D49479
ptrace: Do not pass a negative resid to proc_rwmem() markj on Sun, Mar 23, 10:36 PM. Authored by Tags None Referenced Files
Details
uiomove() asserts against this. proc_iop() already asserts this, but maybe it should be a runtime check. While here, avoid truncting uio_resid in proc_rwmem().
Diff Detail
|