as_checkprot
return (as_checkprot(ttoproc(curthread)->p_as, addr, count, prot));
int as_checkprot(struct as *as, caddr_t addr, size_t size, uint_t prot);