• Home
  • Raw
  • Download

Lines Matching refs:comdatum

493 	common_datum_t *comdatum = 0;  in define_common_perms()  local
508 comdatum = hashtab_search(policydbp->p_commons.table, id); in define_common_perms()
509 if (comdatum) { in define_common_perms()
513 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t)); in define_common_perms()
514 if (!comdatum) { in define_common_perms()
518 memset(comdatum, 0, sizeof(common_datum_t)); in define_common_perms()
520 (hashtab_key_t) id, (hashtab_datum_t) comdatum); in define_common_perms()
530 comdatum->s.value = policydbp->p_commons.nprim + 1; in define_common_perms()
531 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { in define_common_perms()
543 perdatum->s.value = comdatum->permissions.nprim + 1; in define_common_perms()
550 ret = hashtab_insert(comdatum->permissions.table, in define_common_perms()
563 comdatum->permissions.nprim++; in define_common_perms()
571 if (comdatum) in define_common_perms()
572 free(comdatum); in define_common_perms()
587 common_datum_t *comdatum; in define_av_perms() local
610 if (cladatum->comdatum || cladatum->permissions.nprim) { in define_av_perms()
625 comdatum = in define_av_perms()
630 if (!comdatum) { in define_av_perms()
635 cladatum->comdatum = comdatum; in define_av_perms()
641 cladatum->permissions.nprim += comdatum->permissions.nprim; in define_av_perms()
664 (perm_datum_t *) hashtab_search(cladatum->comdatum-> in define_av_perms()
2120 if (cladatum->comdatum) { in define_te_avtab_xperms_helper()
2121 perdatum = hashtab_search(cladatum->comdatum-> in define_te_avtab_xperms_helper()
2601 if (cladatum->comdatum) { in define_te_avtab_helper()
2603 hashtab_search(cladatum->comdatum-> in define_te_avtab_helper()
3656 if (cladatum->comdatum) { in define_constraint()
3660 comdatum-> in define_constraint()