Searched refs:packet_context (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 376 cil_reset_context(netifcon->packet_context); in cil_reset_netifcon() 378 netifcon->packet_context = NULL; in cil_reset_netifcon()
|
D | cil_copy_ast.c | 1113 cil_context_init(&new->packet_context); in cil_copy_netifcon() 1114 cil_copy_fill_context(db, orig->packet_context, new->packet_context); in cil_copy_netifcon()
|
D | cil_internal.h | 803 struct cil_context *packet_context; member
|
D | cil_post.c | 506 return context_compare(a_netifcon->packet_context, b_netifcon->packet_context); in cil_post_netifcon_context_compare() 1975 rc = __evaluate_levelrange_expression(netifcon->packet_context->range, db); in __cil_post_db_cat_helper()
|
D | cil_write_ast.c | 1336 if (netifcon->packet_context) in cil_write_ast_node() 1337 write_context(out, netifcon->packet_context, CIL_TRUE); in cil_write_ast_node()
|
D | cil_build_ast.c | 4671 cil_context_init(&netifcon->packet_context); in cil_gen_netifcon() 4673 rc = cil_fill_context(parse_current->next->next->next->cl_head, netifcon->packet_context); in cil_gen_netifcon() 4700 if (netifcon->packet_context_str == NULL && netifcon->packet_context != NULL) { in cil_destroy_netifcon() 4701 cil_destroy_context(netifcon->packet_context); in cil_destroy_netifcon()
|
D | cil_verify.c | 1137 struct cil_context *pkt_ctx = netif->packet_context; in __cil_verify_netifcon()
|
D | cil_policy.c | 1783 cil_context_to_policy(out, netifcon->packet_context, mls); in cil_netifcons_to_policy()
|
D | cil_resolve_ast.c | 2083 netifcon->packet_context = (struct cil_context*)packcon_datum; in cil_resolve_netifcon() 2085 rc = cil_resolve_context(current, netifcon->packet_context, extra_args); in cil_resolve_netifcon()
|
D | cil.c | 2097 (*netifcon)->packet_context = NULL; in cil_netifcon_init()
|
D | cil_binary.c | 3334 rc = __cil_context_to_sepol_context(pdb, cil_netifcon->packet_context, &new_ocon->context[1]); in cil_netifcon_to_policydb()
|
/third_party/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()
|