cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

Tim J. Robbins tjr at FreeBSD.org
Thu Aug 26 06:16:45 PDT 2004


tjr         2004-08-26 13:16:44 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_vfsops.c 
  Log:
  Improve the robustness of MSDOSFSMNT_KICONV handling:
  - Use copyinstr() to read cs_win, cs_dos, cs_local strings from the
    mount argument structure instead of reading through user-space pointers(!).
  - When mounting a filesystem, or updating an existing mount, only try to
    update the iconv handles from the information in the mount argument
    structure if the structure itself has the MSDOSFSMNT_KICONV flag set.
  - Attempt to handle failure of update_mp() in the MNT_UPDATE case.
  
  Revision  Changes    Path
  1.127     +39 -12    src/sys/fs/msdosfs/msdosfs_vfsops.c


More information about the cvs-src mailing list