free(9) sizes for sys_execve.
authorflorian <florian@openbsd.org>
Mon, 1 Jan 2018 09:01:21 +0000 (09:01 +0000)
committerflorian <florian@openbsd.org>
Mon, 1 Jan 2018 09:01:21 +0000 (09:01 +0000)
commit0233b312c5cd7eded736499df503ae7a3b641ca6
treef3872b3a5e3d0768f71ca13870c03ff4dbb1d679
parentff71d78866fbff3eb37f13bc1a32d895c969809d
free(9) sizes for sys_execve.

Convert the hand rolled loop to strlcpy which gives us the size for
free(9).

OK visa
sys/kern/kern_exec.c