| mac_get_fd | 
|  | This function is described in mac_get(3), and may be used to retrieve the MAC label associated with a specific file descriptor. | 
 | mac_get_file | 
|  | This function is described in mac_get(3), and may be used to retrieve the MAC label associated with a named file. | 
 | mac_get_proc | 
|  | This function is described in mac_get(3), and may be used to retrieve the MAC label associated with the calling process. | 
 | mac_set_fd | 
|  | This function is described in mac_set(3), and may be used to set the MAC label associated with a specific file descriptor. | 
 | mac_set_file | 
|  | This function is described in mac_set(3), and may be used to set the MAC label associated with a named file. | 
 | mac_set_proc | 
|  | This function is described in mac_set(3), and may be used to set the MAC label associated with the calling process. | 
 | mac_free | 
|  | This function is described in mac_free(3), and may be used to free userland working MAC label storage. | 
 | mac_from_text | 
|  | This function is described in mac_text(3), and may be used to convert a text-form MAC label into a working .Vt mac_t .
 | 
 | mac_prepare mac_prepare_file_label
 mac_prepare_ifnet_label
 mac_prepare_process_label
 | 
|  | These functions are described in mac_prepare(3), and may be used to preallocate storage for MAC label retrieval. mac_prepare(3) prepares a label based on caller-specified label names; the other calls rely on the default configuration specified in mac.conf(5). | 
 | mac_to_text | 
|  | This function is described in mac_text(3), and may be used to convert a .Vt mac_t into a text-form MAC label.
 | 
 |
The behavior of some of these calls is influenced by the configuration settings found in