Searched refs:role_allow (Results 1 – 10 of 10) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 513 static int validate_role_allows(sepol_handle_t *handle, role_allow_t *role_allow, validate_t flavor… in validate_role_allows() argument 515 for (; role_allow; role_allow = role_allow->next) { in validate_role_allows() 516 if (validate_value(role_allow->role, &flavors[SYM_ROLES])) in validate_role_allows() 518 if (validate_value(role_allow->new_role, &flavors[SYM_ROLES])) in validate_role_allows() 586 static int validate_role_allow_rules(sepol_handle_t *handle, role_allow_rule_t *role_allow, validat… in validate_role_allow_rules() argument 588 for (; role_allow; role_allow = role_allow->next) { in validate_role_allow_rules() 589 if (validate_role_set(&role_allow->roles, &flavors[SYM_ROLES])) in validate_role_allow_rules() 591 if (validate_role_set(&role_allow->new_roles, &flavors[SYM_ROLES])) in validate_role_allow_rules() 752 if (validate_role_allows(handle, p->role_allow, flavors)) in validate_policydb()
|
D | services.c | 914 struct role_allow *ra; in context_struct_compute_av() 1006 for (ra = policydb->role_allow; ra; ra = ra->next) { in context_struct_compute_av()
|
D | expand.c | 1261 for (l = state->out->role_allow; l && l->next; l = l->next) ; in copy_role_allows() 1281 cur_allow = state->out->role_allow; in copy_role_allows() 1302 state->out->role_allow = n; in copy_role_allows()
|
D | policydb.c | 1546 for (ra = p->role_allow; ra; ra = ra->next) { in policydb_destroy() 2563 ra = calloc(1, sizeof(struct role_allow)); in role_allow_read() 4432 if (role_allow_read(&p->role_allow, fp)) in policydb_read()
|
D | write.c | 2348 if (role_allow_write(p->role_allow, fp)) in policydb_write()
|
D | kernel_to_cil.c | 2335 role_allow_t *curr = pdb->role_allow; in write_role_allow_rules_to_cil()
|
D | kernel_to_conf.c | 2271 role_allow_t *curr = pdb->role_allow; in write_role_allow_rules_to_conf()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 158 typedef struct role_allow { struct 161 struct role_allow *next; argument 579 role_allow_t *role_allow; member
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_internal.h | 1041 void cil_roleallow_init(struct cil_roleallow **role_allow);
|
D | cil_binary.c | 2444 sepol_roleallow->next = pdb->role_allow; in cil_roleallow_to_policydb() 2445 pdb->role_allow = sepol_roleallow; in cil_roleallow_to_policydb()
|