MINT_FROM_MAC(3C)MINT_FROM_MAC(3C)NAMEmint_from_mac - extract a sensitivity label from a mac_t
SYNOPSIS
#include <sys/mac.h>
mint_t mint_from_mac(mac_t mac);
DESCRIPTIONmint_from_mac returns an MINT label extracted from the MAC label
specified in m.
RETURN VALUES
If successful, mint_from_mac returns a mint_t. Upon failure mint_from_mac
returns a NULL pointer - a value of ((mint_t)0).
ERRORS
EINVAL given MAC label is invalid
ENOMEM could not allocate space for new label
SEE ALSOmac_from_text(3C), mint_from_text(3C), mint_free(3C)
Page 1