• Home
  • Raw
  • Download

Lines Matching refs:perdatum

495 	perm_datum_t *perdatum = 0;  in define_common_perms()  local
538 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
539 if (!perdatum) { in define_common_perms()
543 memset(perdatum, 0, sizeof(perm_datum_t)); in define_common_perms()
544 perdatum->s.value = comdatum->permissions.nprim + 1; in define_common_perms()
546 if (perdatum->s.value > (sizeof(sepol_access_vector_t) * 8)) { in define_common_perms()
553 (hashtab_datum_t) perdatum); in define_common_perms()
579 if (perdatum) in define_common_perms()
580 free(perdatum); in define_common_perms()
589 perm_datum_t *perdatum = 0, *perdatum2 = 0; in define_av_perms() local
645 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
646 if (!perdatum) { in define_av_perms()
650 memset(perdatum, 0, sizeof(perm_datum_t)); in define_av_perms()
651 perdatum->s.value = ++cladatum->permissions.nprim; in define_av_perms()
653 if (perdatum->s.value > (sizeof(sepol_access_vector_t) * 8)) { in define_av_perms()
676 (hashtab_datum_t) perdatum); in define_av_perms()
686 if (add_perm_to_class(perdatum->s.value, cladatum->s.value)) { in define_av_perms()
697 if (perdatum) in define_av_perms()
698 free(perdatum); in define_av_perms()
2034 perm_datum_t *perdatum = NULL; in define_te_avtab_xperms_helper() local
2110 perdatum = hashtab_search(cladatum->permissions.table, id); in define_te_avtab_xperms_helper()
2111 if (!perdatum) { in define_te_avtab_xperms_helper()
2113 perdatum = hashtab_search(cladatum->comdatum-> in define_te_avtab_xperms_helper()
2118 if (!perdatum) { in define_te_avtab_xperms_helper()
2129 cur_perms->data |= UINT32_C(1) << (perdatum->s.value - 1); in define_te_avtab_xperms_helper()
2492 perm_datum_t *perdatum = NULL; in define_te_avtab_helper() local
2589 perdatum = in define_te_avtab_helper()
2591 if (!perdatum) { in define_te_avtab_helper()
2593 perdatum = in define_te_avtab_helper()
2599 if (!perdatum) { in define_te_avtab_helper()
2615 cur_perms->data |= UINT32_C(1) << (perdatum->s.value - 1); in define_te_avtab_helper()
3485 perm_datum_t *perdatum; in define_constraint() local
3593 perdatum = in define_constraint()
3599 if (!perdatum) { in define_constraint()
3601 perdatum = in define_constraint()
3610 if (!perdatum) { in define_constraint()
3618 node->permissions |= (UINT32_C(1) << (perdatum->s.value - 1)); in define_constraint()