freebsd-dev/sbin
Tai-hwa Liang 4acc9672b5 It turns out that set_charset() invokes build_iovec() which modifies
iov address internally through realloc(3).  However, since the function
parameter wasn't designed to allow the modified iov being passed back to
the caller, we end up feeding iov with several corrupted entries(depends on
how many arguments were pushed into iovec before set_charset()) to nmount(2).

This commit fixes this regression introduced in rev1.31 such that
mount_cd9660(8) with code page conversion option(-C) enabled works again.

Reviewed by:	rodrigc
2005-11-25 19:48:53 +00:00
..
adjkerntz Expand *n't contractions. 2005-02-13 22:25:33 +00:00
atacontrol -mdoc sweep. 2005-11-18 10:36:29 +00:00
atm Use the C99 syntax for designated initialisers. 2005-08-05 07:33:50 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel -mdoc sweep. 2005-11-18 10:36:29 +00:00
camcontrol Markup fixes. 2005-06-14 11:24:56 +00:00
ccdconfig Remove reference to raid(4), the RAIDframe manual page, which was 2005-08-20 09:10:31 +00:00
clri Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd Add a -f configfile option to devd(8), based on a patch submitted by 2005-11-24 14:39:41 +00:00
devfs Markup fixes. 2005-06-14 11:24:56 +00:00
dhclient Avoid updating resolv.conf when no changes have actually occured. 2005-09-08 22:49:17 +00:00
dmesg WARNS=6 cleanup: 2005-01-17 13:56:46 +00:00
dump Correct the description of the TAPE environment variable. 2005-07-31 13:56:19 +00:00
dumpfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
dumpon Sort sections. 2005-01-18 10:09:38 +00:00
fdisk Call gctl_free() to free resource allocated with gctl_get_handle(). 2005-09-17 14:56:10 +00:00
fdisk_pc98 Merged from src/sbin/fdisk/fdisk.c revision 1.81. 2005-09-18 02:38:29 +00:00
ffsinfo Grammatical improvement. 2005-04-08 10:32:22 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Mention the default location of alternative super block on a 2005-09-20 08:02:38 +00:00
fsck_msdosfs Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
fsdb Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
geom s/5.5/6.0/ in HISTORY section. 2005-11-24 09:25:10 +00:00
ggate -mdoc sweep. 2005-11-18 10:36:29 +00:00
gpt -mdoc sweep. 2005-11-18 10:36:29 +00:00
growfs Don't define FS_DEBUG by default, as this causes growfs to write debugging 2005-03-31 04:10:31 +00:00
gvinum Fix whitespace issues. 2005-11-20 10:35:46 +00:00
idmapd Remove dead code. 2005-04-14 20:27:30 +00:00
ifconfig -mdoc sweep. 2005-11-18 10:36:29 +00:00
init -mdoc sweep. 2005-11-18 10:36:29 +00:00
ip6fw Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ipf Fix the contents of the underneath .depend files and "make checkdpadd". 2005-05-17 14:29:06 +00:00
ipfw -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldconfig Fix malloc size (visible on amd64, with "kldconfig -r"). 2005-11-07 19:22:20 +00:00
kldload -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldstat -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldunload - Correctly spell MOD_QUIESCE 2005-02-09 22:06:16 +00:00
ldconfig -mdoc sweep. 2005-11-18 10:36:29 +00:00
mca Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
md5 Belatedly update the md5(1) man page to reflect the addition of sha256. 2005-03-10 09:56:39 +00:00
mdconfig Rename GEOM class kernel module g_md.ko to geom_md.ko for consistency 2005-11-11 11:31:23 +00:00
mdmfs Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> or 2005-10-14 11:21:21 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Fixing a regression introduced in rev1.72 by connecting cd9660 to the 2005-11-24 17:35:05 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 It turns out that set_charset() invokes build_iovec() which modifies 2005-11-25 19:48:53 +00:00
mount_ext2fs Garbage collect useless variables. 2005-08-05 07:39:39 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs - Adding the missing 'W' option back which was accidentally removed 2005-11-23 19:52:14 +00:00
mount_nfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nfs4 Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ntfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nullfs Bring mount_nullfs up to WARNS=6. 2005-11-21 22:51:16 +00:00
mount_reiserfs Increase WARNS level to 6. 2005-11-13 01:47:04 +00:00
mount_std Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_udf Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_umapfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_unionfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
natd WARNS=6 and gcc4 cleanup: 2005-05-02 10:13:38 +00:00
newfs Don't treat failure to find the operator GID as a fatal error; this 2005-08-14 17:07:04 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod When accessing the sysctl vfs.nfs.iodmax, don't report errors as being 2005-04-07 20:37:04 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources. 2005-05-03 16:57:38 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping -mdoc sweep. 2005-11-18 10:36:29 +00:00
ping6 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
quotacheck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
rcorder Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
reboot -mdoc sweep. 2005-11-18 10:36:29 +00:00
recoverdisk Extend utility to allow recovering single file from the deffective 2005-08-29 23:08:01 +00:00
restore Remove a diagnostic message that can't occur: we lost the ability to 2005-10-20 11:20:55 +00:00
route Document that -q option is also applicable to the "change" command. 2005-10-02 12:55:34 +00:00
routed Use socklen_t where appropriate. 2005-08-05 09:58:49 +00:00
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore o Restore kerneldumpheader.architectureversion bytes swopping 2005-10-02 11:31:45 +00:00
sconfig Fix typos. 2004-12-30 01:48:12 +00:00
setkey fixed a crush when either -lh or -ls option is used. 2005-10-13 18:12:46 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl -mdoc sweep. 2005-11-18 10:36:29 +00:00
tunefs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile setkey(8) was repo-copied from usr.sbin/ to sbin/. 2005-10-12 21:40:41 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00