HomeFreeBSD

ptrace: Do not pass a negative resid to proc_rwmem()

Description

ptrace: Do not pass a negative resid to proc_rwmem()

While here, avoid truncting uio_resid in proc_rwmem().

Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D49479

Details

Provenance
markjAuthored on Sat, Mar 29, 8:54 AM
Reviewer
kib
Differential Revision
D49479: ptrace: Do not pass a negative resid to proc_rwmem()
Parents
rG6091e2aa9236: pfctl.8: fix typo in reference to rc.conf variable
Branches
Unknown
Tags
Unknown