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

  /external/selinux/checkpolicy/
module_compiler.h 34 type_datum_t *declare_type(unsigned char primary, unsigned char isattr);
37 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr);
module_compiler.c 387 static int create_type(uint32_t scope, unsigned char isattr, type_datum_t **type)
390 type_datum_t *datum;
448 type_datum_t *declare_type(unsigned char primary, unsigned char isattr)
450 type_datum_t *type = NULL;
612 /* Return a type_datum_t for the local avrule_decl with the given ID.
620 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr)
622 type_datum_t *dest_typdatum;
633 dest_typdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
927 type_datum_t *type = NULL
    [all...]
policy_define.c 1142 static int add_aliases_to_type(type_datum_t * type)
1145 type_datum_t *aliasdatum = NULL;
1154 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
1160 memset(aliasdatum, 0, sizeof(type_datum_t));
1210 type_datum_t *t;
1243 type_datum_t *t, *attr;
1306 type_datum_t *bounds, *type;
1378 type_datum_t *datum, *attr;
1464 type_datum_t *t
    [all...]
  /external/selinux/libsepol/tests/
test-common.c 88 type_datum_t *d = (type_datum_t *) datum;
152 type_datum_t *type, *primary;
230 type_datum_t *attr;
test-linker-types.c 104 type_datum_t *type;
  /external/selinux/libsepol/src/
context.c 153 type_datum_t *typdatum;
187 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
expand.c 80 type_datum_t *type, *new_type;
84 type = (type_datum_t *) datum;
106 new_type = (type_datum_t *) malloc(sizeof(type_datum_t));
112 memset(new_type, 0, sizeof(type_datum_t));
149 type_datum_t *type, *new_type;
154 type = (type_datum_t *) datum;
533 type_datum_t *type = (type_datum_t *) datum;
534 type_datum_t *dest
    [all...]
link.c 441 type_datum_t *type, *base_type, *new_type = NULL;
444 type = (type_datum_t *) datum;
481 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) {
764 type_datum_t *type = (type_datum_t *) datum;
765 type_datum_t *dest;
857 type_datum_t *type, *base_type, *new_type = NULL, *target_type;
862 type = (type_datum_t *) datum;
901 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) {
1165 type_datum_t *type, *new_type = NULL
    [all...]
hierarchy.c 291 type_datum_t *td;
475 type_datum_t *t = (type_datum_t *)d;
services.c 847 type_datum_t *source;
848 type_datum_t *target;
    [all...]
policydb.c 471 void type_datum_init(type_datum_t * x)
477 void type_datum_destroy(type_datum_t * x)
979 type_datum_t *typdatum;
981 typdatum = (type_datum_t *) datum;
1186 p->type_val_to_struct = (type_datum_t **)
1187 calloc(p->p_types.nprim, sizeof(type_datum_t *));
1305 type_datum_destroy((type_datum_t *) datum);
    [all...]
write.c 1135 type_datum_t *typdatum;
1142 typdatum = (type_datum_t *) datum;
    [all...]
  /external/selinux/python/audit2allow/
sepolgen-ifgen-attr-helper.c 131 type_datum_t *t = (type_datum_t *)datum;
  /system/sepolicy/tools/
sepolicy-check.c 117 type_datum_t *src = NULL;
118 type_datum_t *tgt = NULL;
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 184 } type_datum_t; typedef in typeref:struct:type_datum
529 type_datum_t **type_val_to_struct;
659 extern void type_datum_init(type_datum_t * x);
660 extern void type_datum_destroy(type_datum_t * x);
  /external/selinux/libsepol/cil/src/
cil_binary.c 106 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t **sepol_type)
433 type_datum_t *sepol_type = NULL;
465 type_datum_t *sepol_type = cil_malloc(sizeof(*sepol_type));
492 type_datum_t *sepol_type = NULL;
493 type_datum_t *sepol_parent = NULL;
516 type_datum_t *sepol_type = NULL;
517 type_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias));
545 type_datum_t *sepol_type = NULL;
568 type_datum_t *sepol_attr = NULL;
631 type_datum_t *sepol_type = NULL
    [all...]
  /system/sepolicy/tools/sepolicy-analyze/
neverallow.c 28 type_datum_t *type;
  /external/selinux/checkpolicy/test/
dismod.c 294 type_datum_t *type;
298 type = (type_datum_t *) datum;

Completed in 147 milliseconds