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

  /external/checkpolicy/
policy_define.h 69 role_datum_t *define_role_dom(role_datum_t *r);
70 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 494 { $$ = merge_roles_dom((role_datum_t*)$1, (role_datum_t*)$2); if ($$ == 0) return -1;}
499 {$$ = 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 351 role_datum_t *role, *base_role, *new_role = NULL;
354 role = (role_datum_t *) datum;
384 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) {
792 role_datum_t *role = (role_datum_t *) datum;
793 role_datum_t *dest;
1096 role_datum_t *role, *dest_role = NULL;
1103 role = (role_datum_t *) datum;
    [all...]
hierarchy.c 407 role_datum_t *r, *rp;
410 r = (role_datum_t *) d;
policydb.c 438 void role_datum_init(role_datum_t * x)
440 memset(x, 0, sizeof(role_datum_t));
447 void role_datum_destroy(role_datum_t * x)
677 role_datum_t *role;
679 role = calloc(1, sizeof(role_datum_t));
770 role_datum_t *role;
772 role = (role_datum_t *) datum;
861 role_datum_t *role;
863 role = (role_datum_t *) datum;
1056 p->role_val_to_struct = (role_datum_t **)
    [all...]
expand.c 638 role_datum_t *role = (role_datum_t *) datum;
639 role_datum_t *dest;
782 role_datum_t *role = (role_datum_t *) datum;
807 role_datum_t *role, *new_role, *regular_role;
814 role = (role_datum_t *)datum;
834 (role_datum_t *)hashtab_search(state->out->p_roles.table, id);
853 regular_role = (role_datum_t *)hashtab_search(
875 role_datum_t *role
    [all...]
genusers.c 43 role_datum_t *roldatum;
users.c 117 role_datum_t *roldatum;
services.c 390 role_datum_t *r1, *r2;
    [all...]
write.c 1009 role_datum_t *role;
1016 role = (role_datum_t *) datum;
    [all...]
  /external/libsepol/include/sepol/policydb/
policydb.h 141 } role_datum_t; typedef in typeref:struct:role_datum
502 role_datum_t **role_val_to_struct;
618 extern void role_datum_init(role_datum_t * x);
619 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;

Completed in 68 milliseconds