Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_write_ast.c840 struct cil_type_rule *typerule = (struct cil_type_rule *)node->data; in cil_write_type_rule() local
842 switch (typerule->rule_kind) { in cil_write_type_rule()
853 cil_log(CIL_ERR, "Unknown TYPERULE type: %d\n", typerule->rule_kind); in cil_write_type_rule()
858 src = typerule->src_str; in cil_write_type_rule()
859 tgt = typerule->tgt_str; in cil_write_type_rule()
860 obj = typerule->obj_str; in cil_write_type_rule()
861 res = typerule->result_str; in cil_write_type_rule()
Dcil_verify.c830 struct cil_type_rule *typerule = NULL; in __cil_verify_rule() local
844 typerule = node->data; in __cil_verify_rule()
845 ckey.key1 = (intptr_t)typerule->src; in __cil_verify_rule()
846 ckey.key2 = (intptr_t)typerule->tgt; in __cil_verify_rule()
847 ckey.key3 = (intptr_t)typerule->obj; in __cil_verify_rule()
848 ckey.key4 = (intptr_t)typerule->rule_kind; in __cil_verify_rule()