Searched refs:new_ocon (Results 1 – 1 of 1) sorted by relevance
2914 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb() local2916 new_ocon->sid[0] = count; in cil_sidorder_to_policydb()2917 new_ocon->u.name = cil_strdup(cil_sid->datum.fqn); in cil_sidorder_to_policydb()2918 rc = __cil_context_to_sepol_context(pdb, cil_context, &new_ocon->context[0]); in cil_sidorder_to_policydb()3029 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_PORT], &tail); in cil_portcon_to_policydb() local3033 new_ocon->u.port.protocol = IPPROTO_UDP; in cil_portcon_to_policydb()3036 new_ocon->u.port.protocol = IPPROTO_TCP; in cil_portcon_to_policydb()3044 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()3045 new_ocon->u.port.high_port = cil_portcon->port_high; in cil_portcon_to_policydb()3047 rc = __cil_context_to_sepol_context(pdb, cil_portcon->context, &new_ocon->context[0]); in cil_portcon_to_policydb()[all …]