Implement getvfsbyname that popped up in ports builds and used by tar.

Submitted-by: Stacey Son <sson@freebsd.org>
Fix crashes in sysctl.kern.proc in 32bit envs on 64bit.

Submitted-by: Stacey Son <sson@freebsd.org>