Lines Matching refs:portcon
2612 struct ocontext *portcon;
2620 for (portcon = pdb->ocontexts[2]; portcon != NULL; portcon = portcon->next) {
2621 switch (portcon->u.port.protocol) {
2627 sepol_log_err("Unknown portcon protocol: %i", portcon->u.port.protocol);
2632 low = portcon->u.port.low_port;
2633 high = portcon->u.port.high_port;
2644 ctx = context_to_str(pdb, &portcon->context[0]);
2650 sepol_printf(out, "portcon %s %s %s\n", protocol, low_high_str, ctx);
2659 sepol_log_err("Error writing portcon rules to policy.conf\n");