struct emul's e_arglen member is expected to count in units of
authorguenther <guenther@openbsd.org>
Sat, 24 Jul 2010 09:50:45 +0000 (09:50 +0000)
committerguenther <guenther@openbsd.org>
Sat, 24 Jul 2010 09:50:45 +0000 (09:50 +0000)
commit9efd864072f6919a0b1e325dcd45701c4313963a
treeede87e494314f0b49e896698615fe262dda245f9
parent94be64eb8ccc2875bf59bdf622031b7a83d4dd91
struct emul's e_arglen member is expected to count in units of
sizeof(char *), not in bytes, so we've been allocating and copying around
four or eight times as many bytes as we needed to

ok kettenis@ deraadt@
sys/kern/exec_elf.c