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

Jacques Vidrine nectar at FreeBSD.org
Sat Oct 4 08:50:36 PDT 2003


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 at catpa.com>
  Approved by:    re (implicitly)
  
  Revision  Changes    Path
  1.10.2.5  +1 -3      src/sys/miscfs/procfs/procfs_regs.c


More information about the cvs-src mailing list