Home
last modified time | relevance | path

Searched refs:cur_perm (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dlink.c1265 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list() local
1288 cur_perm = cur->perms; in copy_avrule_list()
1290 while (cur_perm) { in copy_avrule_list()
1298 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list()
1304 module->perm_map_len[cur_perm->tclass - 1]; in copy_avrule_list()
1306 if (!(cur_perm->data & (1U << i))) in copy_avrule_list()
1311 perm_map[cur_perm->tclass - 1][i] - in copy_avrule_list()
1316 module->map[SYM_TYPES][cur_perm->data - 1]; in copy_avrule_list()
1326 cur_perm = cur_perm->next; in copy_avrule_list()
Dexpand.c2654 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow() local
2688 cur_perm = source_rule->perms; in copy_neverallow()
2690 while (cur_perm) { in copy_neverallow()
2696 new_perm->tclass = cur_perm->tclass; in copy_neverallow()
2700 new_perm->data = cur_perm->data; in copy_neverallow()
2708 cur_perm = cur_perm->next; in copy_neverallow()
2739 cur_perm = avrule->perms; in copy_neverallow()
2740 while (cur_perm) { in copy_neverallow()
2741 tail_perm = cur_perm->next; in copy_neverallow()
2742 free(cur_perm); in copy_neverallow()
[all …]