Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dlink.c1230 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list() local
1252 cur_perm = cur->perms; in copy_avrule_list()
1254 while (cur_perm) { in copy_avrule_list()
1262 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list()
1268 module->perm_map_len[cur_perm->tclass - 1]; in copy_avrule_list()
1270 if (!(cur_perm->data & (UINT32_C(1) << i))) in copy_avrule_list()
1275 perm_map[cur_perm->tclass - 1][i] - in copy_avrule_list()
1280 module->map[SYM_TYPES][cur_perm->data - 1]; in copy_avrule_list()
1290 cur_perm = cur_perm->next; in copy_avrule_list()
Dexpand.c2640 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow() local
2674 cur_perm = source_rule->perms; in copy_neverallow()
2676 while (cur_perm) { in copy_neverallow()
2682 new_perm->tclass = cur_perm->tclass; in copy_neverallow()
2686 new_perm->data = cur_perm->data; in copy_neverallow()
2694 cur_perm = cur_perm->next; in copy_neverallow()
2725 cur_perm = avrule->perms; in copy_neverallow()
2726 while (cur_perm) { in copy_neverallow()
2727 tail_perm = cur_perm->next; in copy_neverallow()
2728 free(cur_perm); in copy_neverallow()
[all …]