Date: Thu, 26 Aug 2004 13:16:44 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c Message-ID: <200408261316.i7QDGiwk013106@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408261316.i7QDGiwk013106>
