CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2012/09/10 05:11:00

Modified files:
        sys/isofs/cd9660: cd9660_vfsops.c 
        sys/isofs/udf  : udf_vfsops.c 
        sys/kern       : vfs_syscalls.c 
        sys/miscfs/procfs: procfs_vfsops.c 
        sys/msdosfs    : msdosfs_vfsops.c 
        sys/nfs        : nfs_vfsops.c nfsmount.h 
        sys/ntfs       : ntfs_vfsops.c 
        sys/ufs/ext2fs : ext2fs_vfsops.c 
        sys/ufs/ffs    : ffs_vfsops.c 
        sys/ufs/mfs    : mfs_vfsops.c 

Log message:
Cleanup VFS mount string handling:

- Avoid using copyinstr() without checking the return value.

- sys_mount() has already copied the path in, so pass this to the
filesystem mount code so that it does not have to copy it in again.

- Avoid copyinstr()/bzero() dance when we can simply bzero() and strlcpy().

ok krw@

Reply via email to