/external/selinux/libsepol/src/ |
booleans.c | 60 cond_bool_datum_t *booldatum = policydb->bool_val_to_struct[bool_idx]; local 61 int value = booldatum->state; 146 cond_bool_datum_t *booldatum = NULL; local 156 booldatum = hashtab_search(policydb->p_bools.table, name); 157 if (!booldatum) { 163 booldatum->s.value - 1, response) < 0)
|
conditional.c | 546 cond_bool_datum_t *booldatum; local 548 booldatum = datum; 551 if (!booldatum->s.value || booldatum->s.value > p->p_bools.nprim) 554 p->p_bool_val_to_name[booldatum->s.value - 1] = key; 555 p->bool_val_to_struct[booldatum->s.value - 1] = booldatum; 572 cond_bool_datum_t *booldatum; local 576 booldatum = malloc(sizeof(cond_bool_datum_t)); 577 if (!booldatum) [all...] |
link.c | 603 cond_bool_datum_t *booldatum, *base_bool, *new_bool = NULL; local 607 booldatum = (cond_bool_datum_t *) datum; 632 base_bool->flags = booldatum->flags; 633 base_bool->state = booldatum->state; 634 } else if ((booldatum->flags & COND_BOOL_FLAGS_TUNABLE) != 653 base_bool->state = booldatum->state; 656 base_bool->flags = booldatum->flags; 658 state->cur->map[SYM_BOOLS][booldatum->s.value - 1] = base_bool->s.value; [all...] |
write.c | 638 cond_bool_datum_t *booldatum; local 645 booldatum = (cond_bool_datum_t *) datum; 649 buf[items++] = cpu_to_le32(booldatum->s.value); 650 buf[items++] = cpu_to_le32(booldatum->state); 661 buf[0] = cpu_to_le32(booldatum->flags); [all...] |
expand.c | 2851 cond_bool_datum_t *booldatum; local [all...] |
/external/selinux/checkpolicy/ |
module_compiler.c | 1052 cond_bool_datum_t *booldatum = NULL; local 1062 if ((booldatum = calloc(1, sizeof(*booldatum))) == NULL) { 1063 cond_destroy_bool(id, booldatum, NULL); 1068 booldatum->flags |= COND_BOOL_FLAGS_TUNABLE; 1070 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, 1071 &booldatum->s.value, &booldatum->s.value); 1073 cond_destroy_bool(id, booldatum, NULL); [all...] |