Home
last modified time | relevance | path

Searched refs:port_low (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c213 aportcon->port_low = 15; in test_cil_post_portcon_compare_atotal_greater_btotal()
216 bportcon->port_low = 10; in test_cil_post_portcon_compare_atotal_greater_btotal()
230 aportcon->port_low = 5; in test_cil_post_portcon_compare_btotal_greater_atotal()
233 bportcon->port_low = 11; in test_cil_post_portcon_compare_btotal_greater_atotal()
247 aportcon->port_low = 30; in test_cil_post_portcon_compare_aportlow_greater_bportlow()
250 bportcon->port_low = 17; in test_cil_post_portcon_compare_aportlow_greater_bportlow()
264 aportcon->port_low = 5; in test_cil_post_portcon_compare_bportlow_greater_aportlow()
267 bportcon->port_low = 17; in test_cil_post_portcon_compare_bportlow_greater_aportlow()
281 aportcon->port_low = 17; in test_cil_post_portcon_compare_equal()
284 bportcon->port_low = 17; in test_cil_post_portcon_compare_equal()
/third_party/selinux/secilc/docs/
Dcil_xen_statements.md60 (ioportcon port|(port_low port_high) context_id)
77 <p><code>(port_low port_high)</code></p></td>
Dcil_network_labeling_statements.md184 (portcon protocol port|(port_low port_high) context_id)
205 <p><code>(port_low port_high)</code></p></td>
/third_party/selinux/libsepol/cil/src/
Dcil_post.c279 rc = (aportcon->port_high - aportcon->port_low) in cil_post_portcon_compare()
280 - (bportcon->port_high - bportcon->port_low); in cil_post_portcon_compare()
282 if (aportcon->port_low < bportcon->port_low) { in cil_post_portcon_compare()
284 } else if (bportcon->port_low < aportcon->port_low) { in cil_post_portcon_compare()
Dcil_write_ast.c1296 if (portcon->port_low == portcon->port_high) in cil_write_ast_node()
1297 fprintf(out, "%d ", portcon->port_low); in cil_write_ast_node()
1299 fprintf(out, "(%d %d) ", portcon->port_low, portcon->port_high); in cil_write_ast_node()
Dcil_policy.c1763 if (portcon->port_low == portcon->port_high) { in cil_portcons_to_policy()
1764 fprintf(out, "%d ", portcon->port_low); in cil_portcons_to_policy()
1766 fprintf(out, "%d-%d ", portcon->port_low, portcon->port_high); in cil_portcons_to_policy()
Dcil_internal.h767 uint32_t port_low; member
Dcil_copy_ast.c1252 new->port_low = orig->port_low; in cil_copy_portcon()
Dcil_build_ast.c4420 rc = cil_fill_integer(parse_current->next->next->cl_head, &portcon->port_low, 10); in cil_gen_portcon()
4436 rc = cil_fill_integer(parse_current->next->next, &portcon->port_low, 10); in cil_gen_portcon()
4441 portcon->port_high = portcon->port_low; in cil_gen_portcon()
Dcil.c2562 (*portcon)->port_low = 0; in cil_portcon_init()
Dcil_binary.c3399 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()