HAT_SET_ATTR
if (what == HAT_SET_ATTR || what == HAT_LOAD_ATTR) {
hat_updateattr(hat, addr, len, attr, HAT_SET_ATTR);