if (PFIND(pfs->pfs_pid) == 0) return (ENOENT);
procfs_open(v)	void *v;{	struct vop_open_args /* {		struct vnode *a_vp;		int  a_mode;		struct ucred *a_cred;		struct proc *a_p;	} */ *ap = v;	struct pfsnode *pfs = VTOPFS(ap->a_vp);	switch (pfs->pfs_type) {	case Pmem:		if (PFIND(pfs->pfs_pid) == 0)			return (ENOENT);	/* was ESRCH, jsp */		if (((pfs->pfs_flags & FWRITE) && (ap->a_mode & O_EXCL)) ||		    ((pfs->pfs_flags & O_EXCL) && (ap->a_mode & FWRITE)))			return (EBUSY);		if (ap->a_mode & FWRITE)			pfs->pfs_flags = ap->a_mode & (FWRITE|O_EXCL);		return (0);	default:		break;	}	return (0);}