Date: Sat, 4 Oct 2003 08:50:35 -0700 (PDT) From: Jacques Vidrine <nectar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/miscfs/procfs procfs_regs.c Message-ID: <200310041550.h94FoZJZ009945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nectar 2003/10/04 08:50:35 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sys/miscfs/procfs procfs_regs.c
Log:
Revision 1.10.2.4 introduced a regression: the offset was ignored.
This could cause a reader of /proc/*/regs to spin, because read(2)
would never return end-of-file. In practice, this has much less
impact than I would expect. Tools such as truss(1) make only a
single, fixed-size read (into a `struct reg'). (Similarly for
write(2).)
The cause was a sort of typo: `uiomove_frombuf' was spelled
`uiomove'.
Noticed by: David Rhodus <drhodus@catpa.com>
Approved by: re (implicitly)
Revision Changes Path
1.10.2.5 +1 -3 src/sys/miscfs/procfs/procfs_regs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310041550.h94FoZJZ009945>
