Home
last modified time | relevance | path

Searched refs:type_rule (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dandroid.c516 struct cil_type_rule *type_rule = (struct cil_type_rule *)node->data; in cil_attrib_type_rule() local
518 if (type_rule->src != NULL) { in cil_attrib_type_rule()
523 key = type_rule->src_str; in cil_attrib_type_rule()
525 type_rule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()
528 key = type_rule->tgt_str; in cil_attrib_type_rule()
530 type_rule->tgt_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()
Dcil.c2380 void cil_type_rule_init(struct cil_type_rule **type_rule) in cil_type_rule_init() argument
2382 *type_rule = cil_malloc(sizeof(**type_rule)); in cil_type_rule_init()
2384 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()
2385 (*type_rule)->src_str = NULL; in cil_type_rule_init()
2386 (*type_rule)->src = NULL; in cil_type_rule_init()
2387 (*type_rule)->tgt_str = NULL; in cil_type_rule_init()
2388 (*type_rule)->tgt = NULL; in cil_type_rule_init()
2389 (*type_rule)->obj_str = NULL; in cil_type_rule_init()
2390 (*type_rule)->obj = NULL; in cil_type_rule_init()
2391 (*type_rule)->result_str = NULL; in cil_type_rule_init()
[all …]
Dcil_internal.h1028 void cil_type_rule_init(struct cil_type_rule **type_rule);