Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 18:52:28 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200608241852.k7OIqSp2024521@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2006-08-24 18:52:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  Fix a bug introduced with rev. 1.204; in vfs_donmount() use
  copyout(9) instead of copystr(9) for copying the errmsg from
  kernel- to user-space. This fixes a panic on sparc64 when
  using the nmount(2)-converted mountd(8).
  While at it, use bcopy(3) instead of strncpy(3) in the kernel-
  to kernel-space case for consistency with vfs_buildopts() and
  between kernel- to user-space and kernel- to kernel-space case.
  
  Revision  Changes    Path
  1.229     +4 -5      src/sys/kern/vfs_mount.c



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