• Home
  • Raw
  • Download

Lines Matching refs:levdatum

1005 	level_datum_t *levdatum = (level_datum_t *) datum;  in clone_level()  local
1008 if (levdatum->level == level) { in clone_level()
1009 levdatum->defined = 1; in clone_level()
1010 if (!levdatum->isalias) in clone_level()
1019 levdatum->level = newlevel; in clone_level()
1027 level_datum_t *levdatum; in define_level() local
1045 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()
1047 if (!levdatum) { in define_level()
1052 if (ebitmap_length(&levdatum->level->cat)) { in define_level()
1060 levdatum->defined = 1; in define_level()
1114 if (ebitmap_set_bit(&levdatum->level->cat, i, TRUE)) { in define_level()
1125 (policydbp->p_levels.table, clone_level, levdatum->level)) { in define_level()
4175 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() argument
4217 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
4218 uint32_t level_value = levdatum->level->sens - 1; in parse_categories()
4235 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories() argument
4294 level_datum_t *levdatum; in define_user() local
4334 levdatum = (level_datum_t *) in define_user()
4337 if (!levdatum) { in define_user()
4345 usrdatum->dfltlevel.sens = levdatum->level->sens; in define_user()
4348 if (parse_semantic_categories(id, levdatum, in define_user()
4359 levdatum = (level_datum_t *) in define_user()
4362 if (!levdatum) { in define_user()
4370 usrdatum->range.level[l].sens = levdatum->level->sens; in define_user()
4373 if (parse_semantic_categories(id, levdatum, in define_user()
4403 level_datum_t *levdatum; in parse_security_context() local
4517 levdatum = (level_datum_t *) in parse_security_context()
4520 if (!levdatum) { in parse_security_context()
4526 c->range.level[l].sens = levdatum->level->sens; in parse_security_context()
4530 if (parse_categories(id, levdatum, in parse_security_context()
5722 level_datum_t *levdatum = 0; in define_range_trans() local
5795 levdatum = hashtab_search(policydbp->p_levels.table, id); in define_range_trans()
5796 if (!levdatum) { in define_range_trans()
5804 rule->trange.level[l].sens = levdatum->level->sens; in define_range_trans()
5807 if (parse_semantic_categories(id, levdatum, in define_range_trans()