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

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

Contents


MAC_VALID(3C)							 MAC_VALID(3C)


NAME    [Toc]    [Back]

     mac_valid,	msen_valid, mint_valid - validate a MAC, MSEN, or MINT label

SYNOPSIS    [Toc]    [Back]

     #include <sys/mac.h>

     int mac_valid(mac_t macp);

     int msen_valid(msen_t msenp);

     int mint_valid(mint_t mintp);

DESCRIPTION    [Toc]    [Back]

     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.

RETURN VALUES    [Toc]    [Back]

     mac_valid,	msen_valid, and	mint_valid return 1 if the label is valid, 0
     if	it is not valid, and -1	on error.

ERRORS    [Toc]    [Back]

     EINVAL	     The specified MAC,	MSEN, or MINT label is not valid.

SEE ALSO    [Toc]    [Back]

      
      
     mac_equal(3c)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mac_size IRIX get the size of a MAC, MSEN, or MINT label
msen_from_text IRIX convert a MSEN string from/to msen_t
mint_from_text IRIX convert a MINT string from/to mint_t
msen_dom IRIX compare two MSEN labels for the dominates/equal relationship
mint_dom IRIX compare two MINT labels for the dominates/equal relationship
acl_valid FreeBSD validate an ACL
acl_valid_file_np FreeBSD validate an ACL
acl_valid_fd_np FreeBSD validate an ACL
acl_valid IRIX validate an ACL
val IRIX validate SCCS file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service