Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_binary.c2617 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb() local
2619 new_ocon->sid[0] = count; in cil_sidorder_to_policydb()
2620 new_ocon->u.name = cil_strdup(cil_sid->datum.fqn); in cil_sidorder_to_policydb()
2621 rc = __cil_context_to_sepol_context(pdb, cil_context, &new_ocon->context[0]); in cil_sidorder_to_policydb()
2732 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_PORT], &tail); in cil_portcon_to_policydb() local
2736 new_ocon->u.port.protocol = IPPROTO_UDP; in cil_portcon_to_policydb()
2739 new_ocon->u.port.protocol = IPPROTO_TCP; in cil_portcon_to_policydb()
2747 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()
2748 new_ocon->u.port.high_port = cil_portcon->port_high; in cil_portcon_to_policydb()
2750 rc = __cil_context_to_sepol_context(pdb, cil_portcon->context, &new_ocon->context[0]); in cil_portcon_to_policydb()
[all …]