HomeSort by relevance Sort by last modified time
    Searched refs:typdatum (Results 1 - 6 of 6) sorted by null

  /external/libsepol/src/
context.c 152 type_datum_t *typdatum; local
186 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
188 if (!typdatum || typdatum->flavor == TYPE_ATTRIB) {
192 scontext->type = typdatum->s.value;
write.c 1071 type_datum_t *typdatum; local
1078 typdatum = (type_datum_t *) datum;
1086 && typdatum->flavor == TYPE_ATTRIB)
1092 buf[items++] = cpu_to_le32(typdatum->s.value);
1098 buf[items++] = cpu_to_le32(typdatum->primary);
1101 if (typdatum->primary)
1104 if (typdatum->flavor == TYPE_ATTRIB) {
1106 } else if (typdatum->flavor == TYPE_ALIAS
1110 if (typdatum->flags & TYPE_FLAGS_PERMISSIVE
1115 buf[items++] = cpu_to_le32(typdatum->bounds)
1848 type_datum_t *typdatum = datum; local
    [all...]
policydb.c 874 type_datum_t *typdatum; local
876 typdatum = (type_datum_t *) datum;
879 if (typdatum->primary) {
880 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
882 p->p_type_val_to_name[typdatum->s.value - 1] = (char *)key;
883 p->type_val_to_struct[typdatum->s.value - 1] = typdatum;
2249 type_datum_t *typdatum; local
    [all...]
services.c 1495 type_datum_t *typdatum; local
    [all...]
  /external/checkpolicy/
module_compiler.c 310 type_datum_t *typdatum; local
326 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
327 if (!typdatum) {
332 type_datum_init(typdatum);
333 typdatum->primary = primary;
334 typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE;
336 retval = declare_symbol(SYM_TYPES, id, typdatum, &value, &value);
338 if (typdatum->primary) {
339 typdatum->s.value = value;
344 type_datum_destroy(typdatum);
    [all...]
policy_define.c 2496 type_datum_t *typdatum; local
3565 type_datum_t *typdatum; local
    [all...]

Completed in 470 milliseconds