Home | History | Annotate | Download | only in checkpolicy

Lines Matching refs:comdatum

453 	common_datum_t *comdatum = 0;
468 comdatum = hashtab_search(policydbp->p_commons.table, id);
469 if (comdatum) {
473 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t));
474 if (!comdatum) {
478 memset(comdatum, 0, sizeof(common_datum_t));
480 (hashtab_key_t) id, (hashtab_datum_t) comdatum);
490 comdatum->s.value = policydbp->p_commons.nprim + 1;
491 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) {
503 perdatum->s.value = comdatum->permissions.nprim + 1;
510 ret = hashtab_insert(comdatum->permissions.table,
523 comdatum->permissions.nprim++;
531 if (comdatum)
532 free(comdatum);
547 common_datum_t *comdatum;
570 if (cladatum->comdatum || cladatum->permissions.nprim) {
585 comdatum =
590 if (!comdatum) {
595 cladatum->comdatum = comdatum;
601 cladatum->permissions.nprim += comdatum->permissions.nprim;
624 (perm_datum_t *) hashtab_search(cladatum->comdatum->
1783 if (cladatum->comdatum) {
1785 hashtab_search(cladatum->comdatum->
2810 if (cladatum->comdatum) {
2814 comdatum->