Searched refs:packet_context (Results 1 – 14 of 14) sorted by relevance
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 983 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/ |
D | refpolicy.py | 792 self.packet_context = None 796 str(self.packet_context))
|
D | refparser.py | 666 n.packet_context = p[4]
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 326 cil_reset_context(netifcon->packet_context); in cil_reset_netifcon()
|
D | cil_copy_ast.c | 1121 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()
|
D | cil_internal.h | 794 struct cil_context *packet_context; member
|
D | cil_post.c | 492 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()
|
D | cil_tree.c | 1506 if (netifcon->packet_context != NULL) { in cil_tree_print_node() 1507 cil_tree_print_context(netifcon->packet_context); in cil_tree_print_node()
|
D | cil_verify.c | 990 struct cil_context *pkt_ctx = netif->packet_context; in __cil_verify_netifcon()
|
D | cil_build_ast.c | 4670 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()
|
D | cil_resolve_ast.c | 2077 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()
|
D | cil_policy.c | 1783 cil_context_to_policy(out, netifcon->packet_context, mls); in cil_netifcons_to_policy()
|
D | cil.c | 1851 (*netifcon)->packet_context = NULL; in cil_netifcon_init()
|
D | cil_binary.c | 3330 rc = __cil_context_to_sepol_context(pdb, cil_netifcon->packet_context, &new_ocon->context[1]); in cil_netifcon_to_policydb()
|