Searched refs:m_string (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/lib/libc/posix1e/ |
| D | mac.c | 298 if (mac->m_string != NULL) in mac_free() 299 free(mac->m_string); in mac_free() 313 (*mac)->m_string = strdup(text); in mac_from_text() 314 if ((*mac)->m_string == NULL) { in mac_from_text() 320 (*mac)->m_buflen = strlen((*mac)->m_string)+1; in mac_from_text() 329 *text = strdup(mac->m_string); in mac_to_text() 346 (*mac)->m_string = malloc(MAC_MAX_LABEL_BUF_LEN); in mac_prepare() 347 if ((*mac)->m_string == NULL) { in mac_prepare() 353 strcpy((*mac)->m_string, elements); in mac_prepare()
|
| /freebsd-9-stable/sys/security/mac/ |
| D | mac_syscalls.c | 109 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_pid() 120 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_pid() 144 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_proc() 154 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_proc() 183 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_proc() 244 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_fd() 309 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_fd() 339 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_file() 362 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_file() 392 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_link() [all …]
|
| D | mac_socket.c | 541 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in mac_setsockopt_label() 574 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_label() 589 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_label() 613 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_peerlabel() 628 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_peerlabel()
|
| D | mac_net.c | 419 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get() 434 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in mac_ifnet_ioctl_get() 462 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_ifnet_ioctl_set()
|
| D | mac_process.c | 159 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
|
| /freebsd-9-stable/sys/sys/ |
| D | mac.h | 68 char *m_string; member
|