slice_get_attributes
nvlist_t *slice_get_attributes(descriptor_t *desc, int *errp);
attrs = slice_get_attributes(dp, errp);