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.c3118 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb() local
3120 new_ocon->sid[0] = count; in cil_sidorder_to_policydb()
3121 new_ocon->u.name = cil_strdup(cil_sid->datum.fqn); in cil_sidorder_to_policydb()
3122 rc = __cil_context_to_sepol_context(pdb, cil_context, &new_ocon->context[0]); in cil_sidorder_to_policydb()
3244 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBPKEY], &tail); in cil_ibpkeycon_to_policydb() local
3253 memcpy(&new_ocon->u.ibpkey.subnet_prefix, &subnet_prefix.s6_addr[0], in cil_ibpkeycon_to_policydb()
3254 sizeof(new_ocon->u.ibpkey.subnet_prefix)); in cil_ibpkeycon_to_policydb()
3255 new_ocon->u.ibpkey.low_pkey = cil_ibpkeycon->pkey_low; in cil_ibpkeycon_to_policydb()
3256 new_ocon->u.ibpkey.high_pkey = cil_ibpkeycon->pkey_high; in cil_ibpkeycon_to_policydb()
3258 rc = __cil_context_to_sepol_context(pdb, cil_ibpkeycon->context, &new_ocon->context[0]); in cil_ibpkeycon_to_policydb()
[all …]