cvs commit: src/sys/miscfs/procfs procfs_regs.c

From: Jacques Vidrine <>
Date: Sat, 4 Oct 2003 08:50:35 -0700 (PDT)
nectar      2003/10/04 08:50:35 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/miscfs/procfs    procfs_regs.c 
  Revision 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
  The cause was a sort of typo: `uiomove_frombuf' was spelled
  Noticed by:     David Rhodus <>
  Approved by:    re (implicitly)
  Revision  Changes    Path  +1 -3      src/sys/miscfs/procfs/procfs_regs.c
Received on Sat Oct 04 2003 - 08:50:36 UTC