Searched refs:rtr (Results 1 – 2 of 2) sorted by relevance
611 range_trans_t *rtr; in mls_compute_sid() local618 for (rtr = policydb->range_tr; rtr; rtr = rtr->next) { in mls_compute_sid()619 if (rtr->source_type == scontext->type && in mls_compute_sid()620 rtr->target_type == tcontext->type && in mls_compute_sid()621 rtr->target_class == tclass) { in mls_compute_sid()624 &rtr->target_range); in mls_compute_sid()
3008 range_trans_rule_t *rtr, *lrtr = NULL; in range_read() local3052 rtr = malloc(sizeof(range_trans_rule_t)); in range_read()3053 if (!rtr) { in range_read()3056 range_trans_rule_init(rtr); in range_read()3059 lrtr->next = rtr; in range_read()3061 p->global->enabled->range_tr_rules = rtr; in range_read()3063 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1)) in range_read()3066 if (ebitmap_set_bit(&rtr->ttypes.types, rt->target_type - 1, 1)) in range_read()3069 if (ebitmap_set_bit(&rtr->tclasses, rt->target_class - 1, 1)) in range_read()3072 if (mls_range_to_semantic(&rt->target_range, &rtr->trange)) in range_read()[all …]