Home
last modified time | relevance | path

Searched refs:booldatum (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Dconditional.c195 struct cond_bool_datum *booldatum; in cond_index_bool() local
197 booldatum = datum; in cond_index_bool()
200 if (!booldatum->value || booldatum->value > p->p_bools.nprim) in cond_index_bool()
203 p->sym_val_to_name[SYM_BOOLS][booldatum->value - 1] = key; in cond_index_bool()
204 p->bool_val_to_struct[booldatum->value - 1] = booldatum; in cond_index_bool()
219 struct cond_bool_datum *booldatum; in cond_read_bool() local
224 booldatum = kzalloc(sizeof(*booldatum), GFP_KERNEL); in cond_read_bool()
225 if (!booldatum) in cond_read_bool()
232 booldatum->value = le32_to_cpu(buf[0]); in cond_read_bool()
233 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool()
[all …]
Dservices.c3019 struct cond_bool_datum *booldatum; in security_preserve_bools() local
3026 booldatum = hashtab_search(policydb->p_bools.table, bnames[i]); in security_preserve_bools()
3027 if (booldatum) in security_preserve_bools()
3028 booldatum->state = bvalues[i]; in security_preserve_bools()