Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac/
H A Dmac_syscalls.c113 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_get_pid()
123 buffer, mac.m_buflen); in sys___mac_get_pid()
148 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_get_proc()
157 elements, buffer, mac.m_buflen); in sys___mac_get_proc()
187 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_set_proc()
274 buffer, mac.m_buflen); in sys___mac_get_fd()
289 buffer, mac.m_buflen); in sys___mac_get_fd()
304 buffer, mac.m_buflen); in sys___mac_get_fd()
372 mac.m_buflen); in kern___mac_get_path()
408 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in sys___mac_set_fd()
[all …]
H A Dmac_socket.c539 buffer = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK); in mac_setsockopt_label()
540 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in mac_setsockopt_label()
572 elements = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK); in mac_getsockopt_label()
573 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_label()
579 buffer = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in mac_getsockopt_label()
585 mac->m_buflen); in mac_getsockopt_label()
611 elements = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK); in mac_getsockopt_peerlabel()
612 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_peerlabel()
618 buffer = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in mac_getsockopt_peerlabel()
624 mac->m_buflen); in mac_getsockopt_peerlabel()
H A Dmac_net.c424 elements = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in mac_ifnet_ioctl_get()
425 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get()
431 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); in mac_ifnet_ioctl_get()
437 mac.m_buflen); in mac_ifnet_ioctl_get()
467 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in mac_ifnet_ioctl_set()
468 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_ifnet_ioctl_set()
H A Dmac_process.c157 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); in mac_execve_enter()
158 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
H A Dmac_framework.c731 if (mac->m_buflen > MAC_MAX_LABEL_BUF_LEN || in mac_check_structmac_consistent()
732 mac->m_buflen <= sizeof("")) in mac_check_structmac_consistent()
/f-stack/freebsd/sys/
H A Dmac.h69 size_t m_buflen; member