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 1058 type_datum_t *typdatum; local
1065 typdatum = (type_datum_t *) datum;
1073 && typdatum->flavor == TYPE_ATTRIB)
1079 buf[items++] = cpu_to_le32(typdatum->s.value);
1085 buf[items++] = cpu_to_le32(typdatum->primary);
1088 if (typdatum->primary)
1091 if (typdatum->flavor == TYPE_ATTRIB) {
1093 } else if (typdatum->flavor == TYPE_ALIAS
1097 if (typdatum->flags & TYPE_FLAGS_PERMISSIVE
1102 buf[items++] = cpu_to_le32(typdatum->bounds)
1832 type_datum_t *typdatum = datum; local
    [all...]
policydb.c 832 type_datum_t *typdatum; local
834 typdatum = (type_datum_t *) datum;
837 if (typdatum->primary) {
838 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
840 p->p_type_val_to_name[typdatum->s.value - 1] = (char *)key;
841 p->type_val_to_struct[typdatum->s.value - 1] = typdatum;
2193 type_datum_t *typdatum; local
    [all...]
services.c 871 type_datum_t *typdatum; local
903 typdatum = (type_datum_t *)
906 if (!typdatum) {
909 c->type = typdatum->s.value;
    [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 119 milliseconds