Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c376 cil_reset_context(netifcon->packet_context); in cil_reset_netifcon()
378 netifcon->packet_context = NULL; in cil_reset_netifcon()
Dcil_copy_ast.c1113 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()
Dcil_internal.h803 struct cil_context *packet_context; member
Dcil_post.c506 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()
Dcil_write_ast.c1336 if (netifcon->packet_context) in cil_write_ast_node()
1337 write_context(out, netifcon->packet_context, CIL_TRUE); in cil_write_ast_node()
Dcil_build_ast.c4671 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()
Dcil_verify.c1137 struct cil_context *pkt_ctx = netif->packet_context; in __cil_verify_netifcon()
Dcil_policy.c1783 cil_context_to_policy(out, netifcon->packet_context, mls); in cil_netifcons_to_policy()
Dcil_resolve_ast.c2083 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()
Dcil.c2097 (*netifcon)->packet_context = NULL; in cil_netifcon_init()
Dcil_binary.c3334 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/
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()