Home
last modified time | relevance | path

Searched refs:sepol_bool (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/include/sepol/
Dboolean_record.h10 struct sepol_bool;
12 typedef struct sepol_bool sepol_bool_t;
/external/selinux/libsepol/src/
Dboolean_record.c8 struct sepol_bool { struct
/external/selinux/libsepol/cil/src/
Dcil_binary.c771 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb() local
772 memset(sepol_bool, 0, sizeof(cond_bool_datum_t)); in cil_bool_to_policydb()
775 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
779 sepol_bool->s.value = value; in cil_bool_to_policydb()
780 sepol_bool->state = cil_bool->value; in cil_bool_to_policydb()
786 free(sepol_bool); in cil_bool_to_policydb()
1905 cond_bool_datum_t *sepol_bool = hashtab_search(pdb->p_bools.table, key); in __cil_cond_item_to_sepol_expr() local
1906 if (sepol_bool == NULL) { in __cil_cond_item_to_sepol_expr()
1913 (*head)->bool = sepol_bool->s.value; in __cil_cond_item_to_sepol_expr()