hat_chgattr
void hat_chgattr(struct hat *, caddr_t, size_t, uint_t);
hat_chgattr(seg->s_as->a_hat, addr, len, prot);