Lines Matching refs:elements

290  * elements is added to the master list if not already present. When a
291 * policy is unloaded, the namespace elements are removed if no other
610 * to contain the potential new elements so we don't have to
670 /* Free up any unused label elements and listeners */
1139 * multiple label elements for some
1153 /* If there are dynamic policies present, check their elements too. */
1264 /* If there are dynamic policies present, check their elements too. */
1303 char *elements, *buffer;
1335 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1336 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1338 FREE(elements, M_MACTEMP);
1342 AUDIT_ARG(mac_string, elements);
1345 error = mac_cred_label_externalize(tcred->cr_label, elements,
1351 FREE(elements, M_MACTEMP);
1359 char *elements, *buffer;
1383 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1384 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1386 FREE(elements, M_MACTEMP);
1389 AUDIT_ARG(mac_string, elements);
1395 elements, buffer, mac.m_buflen, M_WAITOK);
1400 FREE(elements, M_MACTEMP);
1493 char *elements, *buffer;
1523 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1524 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1527 FREE(elements, M_MACTEMP);
1530 AUDIT_ARG(mac_string, elements);
1532 error = mac_lctx_label_externalize(l->lc_label, elements,
1539 FREE(elements, M_MACTEMP);
1562 char *elements, *buffer;
1586 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1587 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1589 FREE(elements, M_MACTEMP);
1592 AUDIT_ARG(mac_string, elements);
1603 elements, buffer, mac.m_buflen);
1610 FREE(elements, M_MACTEMP);
1704 char *elements, *buffer;
1734 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1735 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1737 FREE(elements, M_MACTEMP);
1740 AUDIT_ARG(mac_string, elements);
1746 FREE(elements, M_MACTEMP);
1751 error = mac_file_check_get(my_cred, fp->f_fglob, elements, mac.m_buflen);
1756 FREE(elements, M_MACTEMP);
1772 elements, buffer,
1785 error = mac_socket_label_externalize(intlabel, elements, buffer, mac.m_buflen);
1804 FREE(elements, M_MACTEMP);
1813 char *elements, *buffer;
1839 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1842 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1845 FREE(elements, M_MACTEMP);
1848 AUDIT_ARG(mac_string, elements);
1858 FREE(elements, M_MACTEMP);
1867 error = mac_vnode_label_externalize(intlabel, elements, buffer,
1876 FREE(elements, M_MACTEMP);
2164 char *elements, *buffer;
2188 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
2189 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
2191 FREE(elements, M_MACTEMP);
2194 AUDIT_ARG(mac_string, elements);
2198 error = mac_mount_label_externalize(label, elements, buffer,
2200 FREE(elements, M_MACTEMP);