Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2001 07:15:33 -0800 (PST)
From:      Doug Rabson <dfr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/miscfs/procfs procfs_vfsops.c
Message-ID:  <200103031515.f23FFXd46654@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103031515.f23FFXd46654>