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.h11 struct sepol_bool;
13 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.c786 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb() local
787 memset(sepol_bool, 0, sizeof(cond_bool_datum_t)); in cil_bool_to_policydb()
790 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
794 sepol_bool->s.value = value; in cil_bool_to_policydb()
795 sepol_bool->state = cil_bool->value; in cil_bool_to_policydb()
801 free(sepol_bool); in cil_bool_to_policydb()
2097 cond_bool_datum_t *sepol_bool = hashtab_search(pdb->p_bools.table, key); in __cil_cond_item_to_sepol_expr() local
2098 if (sepol_bool == NULL) { in __cil_cond_item_to_sepol_expr()
2105 (*head)->bool = sepol_bool->s.value; in __cil_cond_item_to_sepol_expr()