/external/selinux/libsepol/tests/ |
test-common.c | 88 type_datum_t *d = (type_datum_t *) datum; 152 type_datum_t *type, *primary; 231 type_datum_t *attr;
|
test-linker-types.c | 104 type_datum_t *type;
|
/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 | 308 type_datum_t *declare_type(unsigned char primary, unsigned char isattr) 311 type_datum_t *typdatum; 327 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 507 /* Return a type_datum_t for the local avrule_decl with the given ID. 515 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr) 517 type_datum_t *dest_typdatum; 528 dest_typdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 656 ((type_datum_t *) datum)->flavor [all...] |
policy_define.c | 1138 static int add_aliases_to_type(type_datum_t * type) 1141 type_datum_t *aliasdatum = NULL; 1150 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 1156 memset(aliasdatum, 0, sizeof(type_datum_t)); 1206 type_datum_t *t; 1238 type_datum_t *t, *attr; 1300 type_datum_t *bounds, *type; 1372 type_datum_t *datum, *attr; 1456 type_datum_t *t [all...] |
/external/selinux/policycoreutils/sepolgen-ifgen/ |
sepolgen-ifgen-attr-helper.c | 131 type_datum_t *t = (type_datum_t *)datum;
|
/external/selinux/libsepol/cil/src/ |
cil_binary.c | 126 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t **sepol_type) 466 type_datum_t *sepol_type = NULL; 498 type_datum_t *sepol_type = cil_malloc(sizeof(*sepol_type)); 523 type_datum_t *sepol_type = NULL; 524 type_datum_t *sepol_parent = NULL; 547 type_datum_t *sepol_type = NULL; 548 type_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); 576 type_datum_t *sepol_type = NULL; 599 type_datum_t *sepol_attr = NULL; 651 type_datum_t *sepol_type = NULL [all...] |
/external/selinux/libsepol/src/ |
context.c | 152 type_datum_t *typdatum; 186 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
|
expand.c | 79 type_datum_t *type, *new_type; 83 type = (type_datum_t *) datum; 105 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); 111 memset(new_type, 0, sizeof(type_datum_t)); 148 type_datum_t *type, *new_type; 153 type = (type_datum_t *) datum; 532 type_datum_t *type = (type_datum_t *) datum; 533 type_datum_t *dest [all...] |
hierarchy.c | 129 type_datum_t *t, *tp; 132 t = (type_datum_t *) d; 162 type_datum_t *s, *t1 = NULL, *t2 = NULL;
|
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...] |
policydb.c | 471 void type_datum_init(type_datum_t * x) 477 void type_datum_destroy(type_datum_t * x) 890 type_datum_t *typdatum; 892 typdatum = (type_datum_t *) datum; 1082 p->type_val_to_struct = (type_datum_t **) 1083 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1201 type_datum_destroy((type_datum_t *) datum); [all...] |
write.c | 1100 type_datum_t *typdatum; 1107 typdatum = (type_datum_t *) datum; [all...] |
services.c | [all...] |
/external/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 | 181 } type_datum_t; typedef in typeref:struct:type_datum 525 type_datum_t **type_val_to_struct; 647 extern void type_datum_init(type_datum_t * x); 648 extern void type_datum_destroy(type_datum_t * x);
|
/external/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;
|