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.c773 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb() local
774 memset(sepol_bool, 0, sizeof(cond_bool_datum_t)); in cil_bool_to_policydb()
777 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
781 sepol_bool->s.value = value; in cil_bool_to_policydb()
782 sepol_bool->state = cil_bool->value; in cil_bool_to_policydb()
788 free(sepol_bool); in cil_bool_to_policydb()
2051 cond_bool_datum_t *sepol_bool = hashtab_search(pdb->p_bools.table, key); in __cil_cond_item_to_sepol_expr() local
2052 if (sepol_bool == NULL) { in __cil_cond_item_to_sepol_expr()
2059 (*head)->bool = sepol_bool->s.value; in __cil_cond_item_to_sepol_expr()