From owner-cvs-all Sat Mar 3 7:15:49 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 46E9037B718; Sat, 3 Mar 2001 07:15:38 -0800 (PST) (envelope-from dfr@FreeBSD.org) Received: (from dfr@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f23FFXd46654; Sat, 3 Mar 2001 07:15:33 -0800 (PST) (envelope-from dfr) Message-Id: <200103031515.f23FFXd46654@freefall.freebsd.org> From: Doug Rabson Date: Sat, 3 Mar 2001 07:15:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/miscfs/procfs procfs_vfsops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dfr 2001/03/03 07:15:33 PST Modified files: sys/miscfs/procfs procfs_vfsops.c Log: Remove the copyinstr call which was trying to copy the pathname in from user space. It has already been copied in and mp->mnt_stat.f_mntonname has already been initialised by the caller. This fixes a panic on the alpha caused by the fact that the variable 'size' wasn't initialised because the call to copyinstr() bailed out with an EFAULT error. Revision Changes Path 1.34 +1 -4 src/sys/miscfs/procfs/procfs_vfsops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message