Home
last modified time | relevance | path

Searched refs:ra (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Dpolicydb.c767 struct role_allow *ra, *lra = NULL; in policydb_destroy() local
822 for (ra = p->role_allow; ra; ra = ra->next) { in policydb_destroy()
825 lra = ra; in policydb_destroy()
2261 struct role_allow *ra, *lra; in policydb_read() local
2466 ra = kzalloc(sizeof(*ra), GFP_KERNEL); in policydb_read()
2467 if (!ra) in policydb_read()
2470 lra->next = ra; in policydb_read()
2472 p->role_allow = ra; in policydb_read()
2478 ra->role = le32_to_cpu(buf[0]); in policydb_read()
2479 ra->new_role = le32_to_cpu(buf[1]); in policydb_read()
[all …]
Dservices.c621 struct role_allow *ra; in context_struct_compute_av() local
700 for (ra = policydb->role_allow; ra; ra = ra->next) { in context_struct_compute_av()
701 if (scontext->role == ra->role && in context_struct_compute_av()
702 tcontext->role == ra->new_role) in context_struct_compute_av()
705 if (!ra) in context_struct_compute_av()