Home
last modified time | relevance | path

Searched refs:type_dat (Results 1 – 1 of 1) sorted by relevance

/system/sepolicy/tools/
Dcheck_seapp.c344 type_datum_t *type_dat = (type_datum_t *) dat; in find_type() local
345 if (type_dat->flavor != flavor) { in find_type()
348 return type_dat; in find_type()
351 static bool type_has_attribute(sepol_policydb_t *db, type_datum_t *type_dat, in type_has_attribute() argument
354 ebitmap_t *attr_bits = &d->type_attr_map[type_dat->s.value - 1]; in type_has_attribute()
439 type_datum_t *type_dat = find_type(pol.db, value, TYPE_TYPE); in validate_domain() local
440 if (!type_dat) { in validate_domain()
452 if (type_has_attribute(pol.db, type_dat, attrib_dat)) { in validate_domain()
479 type_datum_t *type_dat = find_type(pol.db, value, TYPE_TYPE); in validate_type() local
480 if (!type_dat) { in validate_type()
[all …]