Searched refs:booldatum (Results 1 - 6 of 6) sorted by relevance
/external/selinux/libsepol/src/ |
H A D | booleans.c | 60 cond_bool_datum_t *booldatum = policydb->bool_val_to_struct[bool_idx]; local 61 int value = booldatum->state; 145 cond_bool_datum_t *booldatum = NULL; local 155 booldatum = hashtab_search(policydb->p_bools.table, name); 156 if (!booldatum) { 162 booldatum->s.value - 1, response) < 0)
|
H A D | 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 if (p->p_bool_val_to_name[booldatum->s.value - 1] != NULL) 557 p->p_bool_val_to_name[booldatum->s.value - 1] = key; 558 p->bool_val_to_struct[booldatum->s.value - 1] = booldatum; 575 cond_bool_datum_t *booldatum; local 579 booldatum [all...] |
H A D | 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;
|
H A D | write.c | 653 cond_bool_datum_t *booldatum; local 660 booldatum = (cond_bool_datum_t *) datum; 664 buf[items++] = cpu_to_le32(booldatum->s.value); 665 buf[items++] = cpu_to_le32(booldatum->state); 676 buf[0] = cpu_to_le32(booldatum->flags);
|
H A D | expand.c | 2883 cond_bool_datum_t *booldatum; local 2893 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; 2894 if (booldatum->flags & COND_BOOL_FLAGS_TUNABLE) 2895 tmp[tunables++] = booldatum;
|
/external/selinux/checkpolicy/ |
H A D | module_compiler.c | 983 cond_bool_datum_t *booldatum = NULL; local 993 if ((booldatum = calloc(1, sizeof(*booldatum))) == NULL) { 994 cond_destroy_bool(id, booldatum, NULL); 999 booldatum->flags |= COND_BOOL_FLAGS_TUNABLE; 1001 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, 1002 &booldatum->s.value, &booldatum->s.value); 1004 cond_destroy_bool(id, booldatum, NULL);
|
Completed in 237 milliseconds