diff options
author | des <des@FreeBSD.org> | 2007-04-15 13:24:03 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-04-15 13:24:03 +0000 |
commit | 5fa10252a885e480eb714df227ec05c73b35b0f2 (patch) | |
tree | 5706c178e936f3117fb4b3f995f299c12d73aaf1 /sys/ddb/db_access.h | |
parent | 577cabcb8a99b40c61326ef06c7e3e070d3ae1aa (diff) | |
download | FreeBSD-src-5fa10252a885e480eb714df227ec05c73b35b0f2.zip FreeBSD-src-5fa10252a885e480eb714df227ec05c73b35b0f2.tar.gz |
Don't reset uio_offset to 0 before returning. Instead, refuse to service
requests where uio_offset is not 0 to begin with. This fixes a long-
standing bug where e.g. 'cat /proc/$$/regs' would loop forever.
MFC after: 3 weeks
Diffstat (limited to 'sys/ddb/db_access.h')
0 files changed, 0 insertions, 0 deletions