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

  /external/selinux/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 1104 type_datum_t *typdatum; local
1111 typdatum = (type_datum_t *) datum;
1119 && typdatum->flavor == TYPE_ATTRIB)
1125 buf[items++] = cpu_to_le32(typdatum->s.value);
1131 buf[items++] = cpu_to_le32(typdatum->primary);
1134 if (typdatum->primary)
1137 if (typdatum->flavor == TYPE_ATTRIB) {
1139 } else if (typdatum->flavor == TYPE_ALIAS
1143 if (typdatum->flags & TYPE_FLAGS_PERMISSIVE
1148 buf[items++] = cpu_to_le32(typdatum->bounds)
1918 type_datum_t *typdatum = datum; local
    [all...]
policydb.c 890 type_datum_t *typdatum; local
892 typdatum = (type_datum_t *) datum;
895 if (typdatum->primary) {
896 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
898 p->p_type_val_to_name[typdatum->s.value - 1] = (char *)key;
899 p->type_val_to_struct[typdatum->s.value - 1] = typdatum;
2265 type_datum_t *typdatum; local
    [all...]
services.c 1571 type_datum_t *typdatum; local
    [all...]
  /external/selinux/checkpolicy/
module_compiler.c 311 type_datum_t *typdatum; local
327 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
328 if (!typdatum) {
333 type_datum_init(typdatum);
334 typdatum->primary = primary;
335 typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE;
337 retval = declare_symbol(SYM_TYPES, id, typdatum, &value, &value);
339 if (typdatum->primary) {
340 typdatum->s.value = value;
345 type_datum_destroy(typdatum);
    [all...]
policy_define.c 3210 type_datum_t *typdatum; local
4284 type_datum_t *typdatum; local
    [all...]

Completed in 123 milliseconds