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

  /external/selinux/checkpolicy/
policy_define.h 70 role_datum_t *define_role_dom(role_datum_t *r);
71 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 168 char *role_id, role_datum_t *role)
170 role_datum_t *bounds;
204 role_datum_t *declare_role(unsigned char isattr)
207 role_datum_t *role = NULL, *dest_role = NULL;
215 if ((role = (role_datum_t *) malloc(sizeof(*role))) == NULL) {
238 /* create a new role_datum_t for this decl, if necessary */
247 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id);
250 (role_datum_t *) malloc(sizeof(*dest_role))) ==
553 /* Return a role_datum_t for the local avrule_decl with the given ID.
561 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr
    [all...]
policy_define.c     [all...]
policy_parse.y 518 { $$ = merge_roles_dom((role_datum_t*)$1, (role_datum_t*)$2); if ($$ == 0) return -1;}
523 {$$ = define_role_dom((role_datum_t*)$4); if ($$ == 0) return -1;}
    [all...]
  /external/selinux/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/selinux/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) {
793 role_datum_t *role = (role_datum_t *) datum;
794 role_datum_t *dest;
1097 role_datum_t *role, *dest_role = NULL;
1104 role = (role_datum_t *) datum;
    [all...]
policydb.c 452 void role_datum_init(role_datum_t * x)
454 memset(x, 0, sizeof(role_datum_t));
461 void role_datum_destroy(role_datum_t * x)
691 role_datum_t *role;
693 role = calloc(1, sizeof(role_datum_t));
784 role_datum_t *role;
786 role = (role_datum_t *) datum;
875 role_datum_t *role;
877 role = (role_datum_t *) datum;
1070 p->role_val_to_struct = (role_datum_t **)
    [all...]
expand.c 562 role_datum_t *role = (role_datum_t *) datum;
563 role_datum_t *dest;
706 role_datum_t *role = (role_datum_t *) datum;
731 role_datum_t *role, *new_role, *regular_role;
738 role = (role_datum_t *)datum;
758 (role_datum_t *)hashtab_search(state->out->p_roles.table, id);
777 regular_role = (role_datum_t *)hashtab_search(
799 role_datum_t *role
    [all...]
genusers.c 43 role_datum_t *roldatum;
users.c 117 role_datum_t *roldatum;
hierarchy.c 556 role_datum_t *r = (role_datum_t *) d;
557 role_datum_t *rp = NULL;
services.c 395 role_datum_t *r1, *r2;
    [all...]
write.c 1042 role_datum_t *role;
1049 role = (role_datum_t *) datum;
    [all...]
module_to_cil.c 165 role_datum_t *role;
281 role_datum_t *role = data;
    [all...]
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 143 } role_datum_t; typedef in typeref:struct:role_datum
526 role_datum_t **role_val_to_struct;
642 extern void role_datum_init(role_datum_t * x);
643 extern void role_datum_destroy(role_datum_t * x);
  /external/selinux/libsepol/cil/src/
cil_binary.c 92 static int __cil_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t **sepol_role)
371 role_datum_t *sepol_role = cil_malloc(sizeof(*sepol_role));
404 role_datum_t *sepol_role = NULL;
405 role_datum_t *sepol_parent = NULL;
429 role_datum_t *sepol_role = NULL;
732 role_datum_t *sepol_role = NULL;
    [all...]
  /external/selinux/checkpolicy/test/
dismod.c 499 role_datum_t *role;
502 role = (role_datum_t *) datum;

Completed in 1332 milliseconds