Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dibendport_record.c232 sepol_ibendport_t *new_ibendport = NULL; in hidden_def() local
234 if (sepol_ibendport_create(handle, &new_ibendport) < 0) in hidden_def()
237 if (sepol_ibendport_alloc_ibdev_name(handle, &new_ibendport->ibdev_name) < 0) in hidden_def()
240 strncpy(new_ibendport->ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX); in hidden_def()
241 new_ibendport->port = ibendport->port; in hidden_def()
244 (sepol_context_clone(handle, ibendport->con, &new_ibendport->con) < 0)) in hidden_def()
247 *ibendport_ptr = new_ibendport; in hidden_def()
255 sepol_ibendport_free(new_ibendport); in hidden_def()