Lines Matching defs:mac
106 mac_cred_label_externalize_audit(struct proc *p, struct mac *mac)
114 mac->m_string, mac->m_buflen);
198 struct user_mac mac;
208 error = copyin(mac_p, &mac, sizeof(mac));
210 struct mac mac32;
212 mac.m_buflen = mac32.m_buflen;
213 mac.m_string = CAST_USER_ADDR_T(mac32.m_string);
218 error = mac_check_structmac_consistent(&mac);
223 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
224 error = copyinstr(CAST_USER_ADDR_T(mac.m_string), buffer, mac.m_buflen, &ulen);