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.c782 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb() local
783 memset(sepol_bool, 0, sizeof(cond_bool_datum_t)); in cil_bool_to_policydb()
786 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
790 sepol_bool->s.value = value; in cil_bool_to_policydb()
791 sepol_bool->state = cil_bool->value; in cil_bool_to_policydb()
797 free(sepol_bool); in cil_bool_to_policydb()
2090 cond_bool_datum_t *sepol_bool = hashtab_search(pdb->p_bools.table, key); in __cil_cond_item_to_sepol_expr() local
2091 if (sepol_bool == NULL) { in __cil_cond_item_to_sepol_expr()
2098 (*head)->bool = sepol_bool->s.value; in __cil_cond_item_to_sepol_expr()