implements some Process funcs on freebsd.