Lines Matching refs:cil_user
157 struct cil_user *user = NULL; in __cil_expand_user()
167 user = (struct cil_user *)datum; in __cil_expand_user()
690 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_to_policydb() argument
698 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb()
714 int cil_user_bounds_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_bounds_to_policydb() argument
720 if (cil_user->bounds) { in cil_user_bounds_to_policydb()
721 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
724 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb()
733 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
737 int cil_userrole_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_user *user) in cil_userrole_to_policydb()
3037 int cil_userlevel_userrange_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_userlevel_userrange_to_policydb() argument
3040 struct cil_level *cil_level = cil_user->dftlevel; in cil_userlevel_userrange_to_policydb()
3041 struct cil_levelrange *cil_levelrange = cil_user->range; in cil_userlevel_userrange_to_policydb()
3044 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_userlevel_userrange_to_policydb()