libsepol - fix assertion copying
PATCH 1/2 libsepol - fix assertion copying
currently permission maps for assertions are not being copied correctly during linking. This patch addresses that issue.
src/link.c +1 -1
@@ -869,7 +869,7 @@ static int copy_avrule_list(avrule_t *li new_perm->class = module->map[SYM_CLASSES ][cur_perm->class -1 ];assert (new_perm->class); -if (new_rule->specified &AVRULE_AV ) { +if (new_rule->specified & (AVRULE_AV |AVRULE_NEVERALLOW )) {for (i =0 ; i <32 ; i++) {if (!(cur_perm->data & (1U << i)))continue ;