Home
last modified time | relevance | path

Searched refs:role_allow (Results 1 – 10 of 10) sorted by relevance

/third_party/selinux/libsepol/src/
Dpolicydb_validate.c513 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()
Dservices.c914 struct role_allow *ra; in context_struct_compute_av()
1006 for (ra = policydb->role_allow; ra; ra = ra->next) { in context_struct_compute_av()
Dexpand.c1261 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()
Dpolicydb.c1546 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()
Dwrite.c2348 if (role_allow_write(p->role_allow, fp)) in policydb_write()
Dkernel_to_cil.c2335 role_allow_t *curr = pdb->role_allow; in write_role_allow_rules_to_cil()
Dkernel_to_conf.c2271 role_allow_t *curr = pdb->role_allow; in write_role_allow_rules_to_conf()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h158 typedef struct role_allow { struct
161 struct role_allow *next; argument
579 role_allow_t *role_allow; member
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h1041 void cil_roleallow_init(struct cil_roleallow **role_allow);
Dcil_binary.c2444 sepol_roleallow->next = pdb->role_allow; in cil_roleallow_to_policydb()
2445 pdb->role_allow = sepol_roleallow; in cil_roleallow_to_policydb()