From owner-cvs-src@FreeBSD.ORG Sat Oct 4 08:50:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0C9616A4BF; Sat, 4 Oct 2003 08:50:36 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E875843F93; Sat, 4 Oct 2003 08:50:35 -0700 (PDT) (envelope-from nectar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h94FoZXJ009946; Sat, 4 Oct 2003 08:50:35 -0700 (PDT) (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h94FoZJZ009945; Sat, 4 Oct 2003 08:50:35 -0700 (PDT) (envelope-from nectar) Message-Id: <200310041550.h94FoZJZ009945@repoman.freebsd.org> From: Jacques Vidrine Date: Sat, 4 Oct 2003 08:50:35 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/miscfs/procfs procfs_regs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 15:50:36 -0000 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 Approved by: re (implicitly) Revision Changes Path 1.10.2.5 +1 -3 src/sys/miscfs/procfs/procfs_regs.c