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

Lines Matching refs:intlabel

1388 	struct label *intlabel;
1417 intlabel = mac_cred_label_alloc();
1418 error = mac_cred_label_internalize(intlabel, buffer);
1423 error = mac_cred_check_label_update(kauth_cred_get(), intlabel);
1428 error = kauth_proc_label_update(p, intlabel);
1445 mac_cred_label_free(intlabel);
1556 struct label *intlabel;
1584 intlabel = mac_lctx_label_alloc();
1585 error = mac_lctx_label_internalize(intlabel, buffer);
1597 error = mac_lctx_check_label_update(p->p_lctx, intlabel);
1602 mac_lctx_label_update(p->p_lctx, intlabel);
1605 mac_lctx_label_free(intlabel);
1646 struct label *intlabel;
1695 intlabel = mac_vnode_label_alloc();
1700 mac_vnode_label_copy(vp->v_label, intlabel);
1701 error = mac_vnode_label_externalize(intlabel,
1706 mac_vnode_label_free(intlabel);
1711 intlabel = mac_socket_label_alloc(MAC_WAITOK);
1713 mac_socket_label_copy(so->so_label, intlabel);
1715 error = mac_socket_label_externalize(intlabel, elements, buffer, mac.m_buflen);
1716 mac_socket_label_free(intlabel);
1748 struct label *intlabel;
1791 intlabel = mac_vnode_label_alloc();
1792 mac_vnode_label_copy(vp->v_label, intlabel);
1795 error = mac_vnode_label_externalize(intlabel, elements, buffer,
1804 mac_vnode_label_free(intlabel);
1835 struct label *intlabel;
1883 intlabel = mac_vnode_label_alloc();
1885 error = mac_vnode_label_internalize(intlabel, buffer);
1887 mac_vnode_label_free(intlabel);
1896 error = vn_setlabel(vp, intlabel, ctx);
1899 mac_vnode_label_free(intlabel);
1904 intlabel = mac_socket_label_alloc(MAC_WAITOK);
1905 error = mac_socket_label_internalize(intlabel, buffer);
1909 error = mac_socket_label_update(vfs_context_ucred(ctx), so, intlabel);
1912 mac_socket_label_free(intlabel);
1939 struct label *intlabel;
1971 intlabel = mac_vnode_label_alloc();
1972 error = mac_vnode_label_internalize(intlabel, buffer);
1975 mac_vnode_label_free(intlabel);
1984 mac_vnode_label_free(intlabel);
1991 error = vn_setlabel(vp, intlabel, ctx);
1993 mac_vnode_label_free(intlabel);