Home
last modified time | relevance | path

Searched refs:packet_context (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c983 CuAssertStrEquals(tc, test_copy->packet_context->user_str, in test_cil_copy_netifcon_nested()
984 ((struct cil_netifcon *)test_ast_node->data)->packet_context->user_str); in test_cil_copy_netifcon_nested()
985 CuAssertStrEquals(tc, test_copy->packet_context->role_str, in test_cil_copy_netifcon_nested()
986 ((struct cil_netifcon *)test_ast_node->data)->packet_context->role_str); in test_cil_copy_netifcon_nested()
987 CuAssertStrEquals(tc, test_copy->packet_context->type_str, in test_cil_copy_netifcon_nested()
988 ((struct cil_netifcon *)test_ast_node->data)->packet_context->type_str); in test_cil_copy_netifcon_nested()
989 CuAssertStrEquals(tc, test_copy->packet_context->range_str, in test_cil_copy_netifcon_nested()
990 ((struct cil_netifcon *)test_ast_node->data)->packet_context->range_str); in test_cil_copy_netifcon_nested()
/external/selinux/python/sepolgen/src/sepolgen/
Drefpolicy.py792 self.packet_context = None
796 str(self.packet_context))
Drefparser.py666 n.packet_context = p[4]
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c326 cil_reset_context(netifcon->packet_context); in cil_reset_netifcon()
Dcil_copy_ast.c1121 cil_context_init(&new->packet_context); in cil_copy_netifcon()
1122 cil_copy_fill_context(db, orig->packet_context, new->packet_context); in cil_copy_netifcon()
Dcil_internal.h794 struct cil_context *packet_context; member
Dcil_post.c492 return context_compare(a_netifcon->packet_context, b_netifcon->packet_context); in cil_post_netifcon_context_compare()
1965 rc = __evaluate_levelrange_expression(netifcon->packet_context->range, db); in __cil_post_db_cat_helper()
Dcil_tree.c1506 if (netifcon->packet_context != NULL) { in cil_tree_print_node()
1507 cil_tree_print_context(netifcon->packet_context); in cil_tree_print_node()
Dcil_verify.c990 struct cil_context *pkt_ctx = netif->packet_context; in __cil_verify_netifcon()
Dcil_build_ast.c4670 cil_context_init(&netifcon->packet_context); in cil_gen_netifcon()
4672 rc = cil_fill_context(parse_current->next->next->next->cl_head, netifcon->packet_context); in cil_gen_netifcon()
4699 if (netifcon->packet_context_str == NULL && netifcon->packet_context != NULL) { in cil_destroy_netifcon()
4700 cil_destroy_context(netifcon->packet_context); in cil_destroy_netifcon()
Dcil_resolve_ast.c2077 netifcon->packet_context = (struct cil_context*)packcon_datum; in cil_resolve_netifcon()
2079 rc = cil_resolve_context(current, netifcon->packet_context, extra_args); in cil_resolve_netifcon()
Dcil_policy.c1783 cil_context_to_policy(out, netifcon->packet_context, mls); in cil_netifcons_to_policy()
Dcil.c1851 (*netifcon)->packet_context = NULL; in cil_netifcon_init()
Dcil_binary.c3330 rc = __cil_context_to_sepol_context(pdb, cil_netifcon->packet_context, &new_ocon->context[1]); in cil_netifcon_to_policydb()