• Home
  • Raw
  • Download

Lines Matching refs:sepol_user

83 …il_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t **sepol_user)  in __cil_get_sepol_user_datum()  argument
85 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum()
86 if (*sepol_user == NULL) { in __cil_get_sepol_user_datum()
686 user_datum_t *sepol_user = cil_malloc(sizeof(*sepol_user)); in cil_user_to_policydb() local
687 user_datum_init(sepol_user); in cil_user_to_policydb()
690 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value); in cil_user_to_policydb()
694 sepol_user->s.value = value; in cil_user_to_policydb()
700 user_datum_destroy(sepol_user); in cil_user_to_policydb()
701 free(sepol_user); in cil_user_to_policydb()
708 user_datum_t *sepol_user = NULL; in cil_user_bounds_to_policydb() local
712 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
718 sepol_user->bounds = sepol_parent->s.value; in cil_user_bounds_to_policydb()
731 user_datum_t *sepol_user = NULL; in cil_userrole_to_policydb() local
737 rc = __cil_get_sepol_user_datum(pdb, DATUM(user), &sepol_user); in cil_userrole_to_policydb()
754 if (ebitmap_set_bit(&sepol_user->roles.roles, sepol_role->s.value - 1, 1)) { in cil_userrole_to_policydb()
2427 user_datum_t *sepol_user = NULL; in __cil_constrain_expr_datum_to_sepol_expr() local
2436 rc = __cil_get_sepol_user_datum(pdb, DATUM(db->val_to_user[i]), &sepol_user); in __cil_constrain_expr_datum_to_sepol_expr()
2442 if (ebitmap_set_bit(&expr->names, sepol_user->s.value - 1, 1)) { in __cil_constrain_expr_datum_to_sepol_expr()
2979 user_datum_t *sepol_user = NULL; in cil_userlevel_userrange_to_policydb() local
2981 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_userlevel_userrange_to_policydb()
2984 rc = cil_level_to_mls_level(pdb, cil_level, &sepol_user->exp_dfltlevel); in cil_userlevel_userrange_to_policydb()
2989 rc = __cil_levelrange_to_mls_range(pdb, cil_levelrange, &sepol_user->exp_range); in cil_userlevel_userrange_to_policydb()
3004 user_datum_t *sepol_user = NULL; in __cil_context_to_sepol_context() local
3008 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_context->user), &sepol_user); in __cil_context_to_sepol_context()
3017 sepol_context->user = sepol_user->s.value; in __cil_context_to_sepol_context()