Lines Matching refs:cil_user
705 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_to_policydb() argument
713 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb()
729 int cil_user_bounds_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_bounds_to_policydb() argument
735 if (cil_user->bounds) { in cil_user_bounds_to_policydb()
736 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
739 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb()
748 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
2536 int cil_userlevel_userrange_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_userlevel_userrange_to_policydb() argument
2539 struct cil_level *cil_level = cil_user->dftlevel; in cil_userlevel_userrange_to_policydb()
2540 struct cil_levelrange *cil_levelrange = cil_user->range; in cil_userlevel_userrange_to_policydb()
2543 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_userlevel_userrange_to_policydb()