Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dibpkey_record.c311 sepol_ibpkey_t *new_ibpkey = NULL; in sepol_ibpkey_clone() local
313 if (sepol_ibpkey_create(handle, &new_ibpkey) < 0) in sepol_ibpkey_clone()
316 new_ibpkey->subnet_prefix = ibpkey->subnet_prefix; in sepol_ibpkey_clone()
317 new_ibpkey->low = ibpkey->low; in sepol_ibpkey_clone()
318 new_ibpkey->high = ibpkey->high; in sepol_ibpkey_clone()
321 (sepol_context_clone(handle, ibpkey->con, &new_ibpkey->con) < 0)) in sepol_ibpkey_clone()
324 *ibpkey_ptr = new_ibpkey; in sepol_ibpkey_clone()
329 sepol_ibpkey_free(new_ibpkey); in sepol_ibpkey_clone()