chdir_lookup
if ((error = chdir_lookup(path, seg, &vp, l)) != 0)
error = chdir_lookup(SCARG(uap, path), UIO_USERSPACE, &vp, l);
int chdir_lookup(const char *, int, struct vnode **, struct lwp *);