/external/checkpolicy/ |
policy_define.h | 65 role_datum_t *define_role_dom(role_datum_t *r); 66 role_datum_t *merge_roles_dom(role_datum_t *r1,role_datum_t *r2);
|
module_compiler.h | 33 role_datum_t *declare_role(unsigned char isattr); 38 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr);
|
module_compiler.c | 167 char *role_id, role_datum_t *role) 169 role_datum_t *bounds; 203 role_datum_t *declare_role(unsigned char isattr) 206 role_datum_t *role = NULL, *dest_role = NULL; 214 if ((role = (role_datum_t *) malloc(sizeof(*role))) == NULL) { 237 /* create a new role_datum_t for this decl, if necessary */ 246 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id); 249 (role_datum_t *) malloc(sizeof(*dest_role))) == 552 /* Return a role_datum_t for the local avrule_decl with the given ID. 560 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr [all...] |
policy_define.c | [all...] |
policy_parse.y | 452 { $$ = merge_roles_dom((role_datum_t*)$1, (role_datum_t*)$2); if ($$ == 0) return -1;} 457 {$$ = define_role_dom((role_datum_t*)$4); if ($$ == 0) return -1;}
|
/external/libsepol/tests/ |
test-common.h | 65 extern role_datum_t *test_role_type_set(policydb_t * p, char *id, avrule_decl_t * decl, char **types, unsigned int len, unsigned int flags);
|
test-common.c | 78 role_datum_t *d = (role_datum_t *) datum; 185 role_datum_t *test_role_type_set(policydb_t * p, char *id, avrule_decl_t * decl, char **types, unsigned int len, unsigned int flags) 189 role_datum_t *role;
|
test-linker-roles.c | 55 static void only_dominates_self(policydb_t * p, role_datum_t * role) 73 role_datum_t *role; 102 role_datum_t *role;
|
/external/libsepol/src/ |
context.c | 37 role_datum_t *role; 151 role_datum_t *roldatum; 177 roldatum = (role_datum_t *) hashtab_search(policydb->p_roles.table,
|
link.c | 309 role_datum_t *role, *base_role, *new_role = NULL; 312 role = (role_datum_t *) datum; 342 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) { 742 role_datum_t *role = (role_datum_t *) datum; 743 role_datum_t *dest; 1046 role_datum_t *role, *dest_role = NULL; 1053 role = (role_datum_t *) datum; [all...] |
hierarchy.c | 406 role_datum_t *r, *rp; 409 r = (role_datum_t *) d;
|
policydb.c | 375 void role_datum_init(role_datum_t * x) 377 memset(x, 0, sizeof(role_datum_t)); 384 void role_datum_destroy(role_datum_t * x) 612 role_datum_t *role; 614 role = calloc(1, sizeof(role_datum_t)); 705 role_datum_t *role; 707 role = (role_datum_t *) datum; 796 role_datum_t *role; 798 role = (role_datum_t *) datum; 991 p->role_val_to_struct = (role_datum_t **) [all...] |
expand.c | 507 role_datum_t *role = (role_datum_t *) datum; 508 role_datum_t *dest; 651 role_datum_t *role = (role_datum_t *) datum; 676 role_datum_t *role, *new_role, *regular_role; 683 role = (role_datum_t *)datum; 698 (role_datum_t *)hashtab_search(state->out->p_roles.table, id); 717 regular_role = (role_datum_t *)hashtab_search( 739 role_datum_t *role [all...] |
genusers.c | 43 role_datum_t *roldatum;
|
services.c | 132 role_datum_t *r1, *r2; 869 role_datum_t *role; 893 role = (role_datum_t *) hashtab_search(args->newp->p_roles.table, 1294 role_datum_t *role; [all...] |
users.c | 117 role_datum_t *roldatum;
|
write.c | 984 role_datum_t *role; 991 role = (role_datum_t *) datum; [all...] |
/external/libsepol/include/sepol/policydb/ |
policydb.h | 127 } role_datum_t; typedef in typeref:struct:role_datum 485 role_datum_t **role_val_to_struct; 601 extern void role_datum_init(role_datum_t * x); 602 extern void role_datum_destroy(role_datum_t * x);
|
/external/checkpolicy/test/ |
dismod.c | 499 role_datum_t *role; 502 role = (role_datum_t *) datum;
|