Lines Matching refs:cil_user
150 struct cil_user *user = NULL; in __cil_expand_user()
160 user = (struct cil_user *)datum; in __cil_expand_user()
681 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_to_policydb() argument
689 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb()
705 int cil_user_bounds_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_bounds_to_policydb() argument
711 if (cil_user->bounds) { in cil_user_bounds_to_policydb()
712 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
715 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb()
724 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
728 int cil_userrole_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_user *user) in cil_userrole_to_policydb()
2833 int cil_userlevel_userrange_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_userlevel_userrange_to_policydb() argument
2836 struct cil_level *cil_level = cil_user->dftlevel; in cil_userlevel_userrange_to_policydb()
2837 struct cil_levelrange *cil_levelrange = cil_user->range; in cil_userlevel_userrange_to_policydb()
2840 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_userlevel_userrange_to_policydb()