Searched refs:low_high_str (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 2510 char low_high_str[44]; /* 2^64 <= 20 digits so "low-high" <= 44 chars */ in write_selinux_port_rules_to_conf() local 2529 rc = snprintf(low_high_str, 44, "%u", low); in write_selinux_port_rules_to_conf() 2531 rc = snprintf(low_high_str, 44, "%u-%u", low, high); in write_selinux_port_rules_to_conf() 2544 sepol_printf(out, "portcon %s %s %s\n", protocol, low_high_str, ctx); in write_selinux_port_rules_to_conf() 2681 char low_high_str[44]; /* 2^64 <= 20 digits so "low-high" <= 44 chars */ in write_selinux_ibpkey_rules_to_conf() local 2701 rc = snprintf(low_high_str, 44, "%u", low); in write_selinux_ibpkey_rules_to_conf() 2703 rc = snprintf(low_high_str, 44, "%u-%u", low, high); in write_selinux_ibpkey_rules_to_conf() 2717 low_high_str, ctx); in write_selinux_ibpkey_rules_to_conf() 2816 char low_high_str[40]; /* 2^64-1 <= 16 digits (hex) so low-high < 40 chars */ in write_xen_ioport_rules_to_conf() local 2824 rc = snprintf(low_high_str, 40, "0x%x", low); in write_xen_ioport_rules_to_conf() [all …]
|
D | kernel_to_cil.c | 2650 char low_high_str[44]; /* 2^64 <= 20 digits so "(low high)" <= 44 chars */ in write_selinux_port_rules_to_cil() local 2669 rc = snprintf(low_high_str, 44, "%u", low); in write_selinux_port_rules_to_cil() 2671 rc = snprintf(low_high_str, 44, "(%u %u)", low, high); in write_selinux_port_rules_to_cil() 2684 sepol_printf(out, "(portcon %s %s %s)\n", protocol, low_high_str, ctx); in write_selinux_port_rules_to_cil() 2820 char low_high_str[44]; /* 2^64 <= 20 digits so "(low high)" <= 44 chars */ in write_selinux_ibpkey_rules_to_cil() local 2840 rc = snprintf(low_high_str, 44, "%u", low); in write_selinux_ibpkey_rules_to_cil() 2842 rc = snprintf(low_high_str, 44, "(%u %u)", low, high); in write_selinux_ibpkey_rules_to_cil() 2855 sepol_printf(out, "(ibpkeycon %s %s %s)\n", subnet_prefix_str, low_high_str, ctx); in write_selinux_ibpkey_rules_to_cil() 2952 char low_high_str[40]; /* 2^64-1 <= 16 digits (hex) so (low high) < 40 chars */ in write_xen_ioport_rules_to_cil() local 2960 rc = snprintf(low_high_str, 40, "0x%x", low); in write_xen_ioport_rules_to_cil() [all …]
|