MAC_VALID(3C)							 MAC_VALID(3C)
      mac_valid,	msen_valid, mint_valid - validate a MAC, MSEN, or MINT label
      #include <sys/mac.h>
     int mac_valid(mac_t macp);
     int msen_valid(msen_t msenp);
     int mint_valid(mint_t mintp);
     mac_valid	     Check that	the format of a	MAC label is valid.
     msen_valid	     Check that	the format of an MSEN label is valid.
     mint_valid	     Check that	the format of a	MINT label is valid.
     mac_valid,	msen_valid, and	mint_valid return 1 if the label is valid, 0
     if	it is not valid, and -1	on error.
     EINVAL	     The specified MAC,	MSEN, or MINT label is not valid.
 
     mac_equal(3c)
									PPPPaaaaggggeeee 1111 [ Back ]
 |