MAC_FROM_MSEN(3C) MAC_FROM_MSEN(3C)
mac_from_msen, mac_from_mint, mac_from_msen_mint - convert independent
sensitivity or integrity labels to mac_t
#include <sys/mac.h>
mac_t mac_from_msen(msen_t msen);
mac_t mac_from_mint(mint_t mintp);
mac_t mac_from_msen_mint(msen_t msenp, mint_t mintp);
mac_from_msen Return a mac_t constructed from the given msen label,
substituting MINT_EQUAL_LABEL for the needed mint
component.
mac_from_mint Return a mac_t constructed from the given mint label,
substituting MSEN_EQUAL_LABEL for the needed msen
component.
mac_from_msen_mint Return a mac_t constructed from the given msen and
mint labels.
mac_from_msen returns a mac_t, a pointer to an allocated struct
mac_label, or a NULL pointer in the case of a failure. The mac_t should
be freed when no longer needed by calling mac_free(3c).
mac_from_mint returns a mac_t, a pointer to an allocated struct
mac_label, or a NULL pointer in the case of a failure. The mac_t should
be freed when no longer needed by calling mac_free(3c).
mac_from_msen_mint returns a mac_t, a pointer to an allocated struct
mac_label, or a NULL pointer in the case of a failure. The mac_t should
be freed when no longer needed by calling mac_free(3c).
mac_from_msen:
EINVAL given msen label is invalid
ENOMEM could not allocate space for new label
mac_from_mint:
EINVAL given msen label is invalid
ENOMEM could not allocate space for new label
mac_from_msen_mint
Page 1
MAC_FROM_MSEN(3C) MAC_FROM_MSEN(3C)
EINVAL given msen or mint label is invalid
ENOMEM could not allocate space for new label
mac_from_text(3C)
PPPPaaaaggggeeee 2222 [ Back ]
|