Lines Matching refs:cil_role
186 struct cil_role *role = (struct cil_role *)datum;
366 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role)
374 if (cil_role->datum.fqn == CIL_KEY_OBJECT_R) {
381 key = cil_strdup(cil_role->datum.fqn);
401 int cil_role_bounds_to_policydb(policydb_t *pdb, struct cil_role *cil_role)
407 if (cil_role->bounds) {
408 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role);
411 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role->bounds), &sepol_parent);
420 cil_log(CIL_ERR, "Failed to insert role bounds for role %s\n", cil_role->datum.fqn);
424 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role)
2310 } else if (expr_flavor == CIL_ROLE) {
3434 case CIL_ROLE:
3485 case CIL_ROLE: