• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/security/

Lines Matching defs:elements

291  * elements is added to the master list if not already present. When a
292 * policy is unloaded, the namespace elements are removed if no other
602 * to contain the potential new elements so we don't have to
662 /* Free up any unused label elements and listeners */
1151 * multiple label elements for some
1165 /* If there are dynamic policies present, check their elements too. */
1245 /* If there are dynamic policies present, check their elements too. */
1284 char *elements, *buffer;
1313 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1314 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1316 FREE(elements, M_MACTEMP);
1320 AUDIT_ARG(mac_string, elements);
1323 error = mac_cred_label_externalize(tcred->cr_label, elements,
1329 FREE(elements, M_MACTEMP);
1337 char *elements, *buffer;
1358 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1359 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1361 FREE(elements, M_MACTEMP);
1364 AUDIT_ARG(mac_string, elements);
1370 elements, buffer, mac.m_buflen, M_WAITOK);
1375 FREE(elements, M_MACTEMP);
1453 char *elements, *buffer;
1480 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1481 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1484 FREE(elements, M_MACTEMP);
1487 AUDIT_ARG(mac_string, elements);
1489 error = mac_lctx_label_externalize(l->lc_label, elements,
1496 FREE(elements, M_MACTEMP);
1503 char *elements, *buffer;
1524 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1525 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1527 FREE(elements, M_MACTEMP);
1530 AUDIT_ARG(mac_string, elements);
1541 elements, buffer, mac.m_buflen);
1548 FREE(elements, M_MACTEMP);
1639 char *elements, *buffer;
1666 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1667 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1669 FREE(elements, M_MACTEMP);
1672 AUDIT_ARG(mac_string, elements);
1678 FREE(elements, M_MACTEMP);
1683 error = mac_file_check_get(my_cred, fp->f_fglob, elements, mac.m_buflen);
1688 FREE(elements, M_MACTEMP);
1702 elements, buffer,
1715 error = mac_socket_label_externalize(intlabel, elements, buffer, mac.m_buflen);
1734 FREE(elements, M_MACTEMP);
1746 char *elements, *buffer;
1769 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1770 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
1772 FREE(elements, M_MACTEMP);
1775 AUDIT_ARG(mac_string, elements);
1784 FREE(elements, M_MACTEMP);
1795 error = mac_vnode_label_externalize(intlabel, elements, buffer,
1797 FREE(elements, M_MACTEMP);
2070 char *elements, *buffer;
2091 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
2092 error = copyinstr(mac.m_string, elements, mac.m_buflen, &ulen);
2094 FREE(elements, M_MACTEMP);
2097 AUDIT_ARG(mac_string, elements);
2101 error = mac_mount_label_externalize(label, elements, buffer,
2103 FREE(elements, M_MACTEMP);