cvs commit: src/sys/kern vfs_mount.c

Marius Strobl marius at FreeBSD.org
Thu Aug 24 18:52:28 UTC 2006


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


More information about the cvs-all mailing list