Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_binary.c3231 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb() local
3232 new_ocon->sid[0] = count; in cil_sidorder_to_policydb()
3233 new_ocon->u.name = cil_strdup(cil_sid->datum.fqn); in cil_sidorder_to_policydb()
3234 rc = __cil_context_to_sepol_context(pdb, cil_context, &new_ocon->context[0]); in cil_sidorder_to_policydb()
3345 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBPKEY], &tail); in cil_ibpkeycon_to_policydb() local
3354 memcpy(&new_ocon->u.ibpkey.subnet_prefix, &subnet_prefix.s6_addr[0], in cil_ibpkeycon_to_policydb()
3355 sizeof(new_ocon->u.ibpkey.subnet_prefix)); in cil_ibpkeycon_to_policydb()
3356 new_ocon->u.ibpkey.low_pkey = cil_ibpkeycon->pkey_low; in cil_ibpkeycon_to_policydb()
3357 new_ocon->u.ibpkey.high_pkey = cil_ibpkeycon->pkey_high; in cil_ibpkeycon_to_policydb()
3359 rc = __cil_context_to_sepol_context(pdb, cil_ibpkeycon->context, &new_ocon->context[0]); in cil_ibpkeycon_to_policydb()
[all …]