Home | History | Annotate | Download | only in src

Lines Matching refs:CIL_ROLE

181 		struct cil_role *role = (struct cil_role *)datum;
402 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role)
410 if (cil_role->datum.fqn == CIL_KEY_OBJECT_R) {
417 key = cil_strdup(cil_role->datum.fqn);
437 int cil_role_bounds_to_policydb(policydb_t *pdb, struct cil_role *cil_role)
443 if (cil_role->bounds) {
444 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role);
447 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role->bounds), &sepol_parent);
456 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn);
460 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role)
2013 } else if (expr_flavor == CIL_ROLE) {
3134 case CIL_ROLE:
3185 case CIL_ROLE: