struct vm_map *map;
vm_map_t map;
uvm_useracc(addr, len, rw)	caddr_t addr;	size_t len;	int rw;{	struct vm_map *map;	boolean_t rv;	vm_prot_t prot = rw == B_READ ? VM_PROT_READ : VM_PROT_WRITE;	/* XXX curproc */	map = &curproc->p_vmspace->vm_map;	vm_map_lock_read(map);	rv = uvm_map_checkprot(map, trunc_page((vaddr_t)addr),	    round_page((vaddr_t)addr + len), prot);	vm_map_unlock_read(map);	return(rv);}