*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> mac_from_msen (3c)              
Title
Content
Arch
Section
 

Contents


MAC_FROM_MSEN(3C)					     MAC_FROM_MSEN(3C)


NAME    [Toc]    [Back]

     mac_from_msen, mac_from_mint, mac_from_msen_mint -	convert	independent
     sensitivity or integrity labels to	mac_t

SYNOPSIS    [Toc]    [Back]

     #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);

DESCRIPTION    [Toc]    [Back]

     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.

RETURN VALUES    [Toc]    [Back]

     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).

ERRORS    [Toc]    [Back]

     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

SEE ALSO    [Toc]    [Back]

      
      
     mac_from_text(3C)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
msen_from_mac IRIX extract a sensitivity label from a mac_t
mint_from_mac IRIX extract a sensitivity label from a mac_t
mac_from_text IRIX convert a POSIX MAC string from/to mac_t
gss_verify_mic HP-UX check a cryptographic message integrity code (MIC) against a message to verify its integrity
DXmSvnGetEntrySensitivity Tru64 Retrieves (returns) the sensitivity of an entry in the display.
mac_prepare_file_label FreeBSD allocate appropriate storage for mac_t
mac_prepare_process_label FreeBSD allocate appropriate storage for mac_t
mac_prepare FreeBSD allocate appropriate storage for mac_t
mac_prepare_ifnet_label FreeBSD allocate appropriate storage for mac_t
labelit IRIX provide labels for file systems
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service