Home
last modified time | relevance | path

Searched refs:port_low (Results 1 - 9 of 9) sorted by relevance

/third_party/selinux/libsepol/cil/test/unit/
H A 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 in test_cil_post_portcon_compare_equal()
[all...]
/third_party/selinux/libsepol/cil/src/
H A 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()
H A 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()
H A 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()
H A Dcil_internal.h767 uint32_t port_low; member
H A Dcil_copy_ast.c1252 new->port_low = orig->port_low; in cil_copy_portcon()
H A 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()
H A Dcil.c2562 (*portcon)->port_low = 0; in cil_portcon_init()
H A Dcil_binary.c3399 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()

Completed in 35 milliseconds