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

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

Contents


MAC_DOMINATE(3C)					      MAC_DOMINATE(3C)


NAME    [Toc]    [Back]

     mac_dominate, mac_equal - compare two MAC labels for the dominates/equal
     relationship

SYNOPSIS    [Toc]    [Back]

     #include <sys/mac.h>

     int mac_dominate (mac_t lp1, mac_t	lp2);
     int mac_equal (mac_t lp1, mac_t lp2);

DESCRIPTION    [Toc]    [Back]

     mac_dominate compares the two MAC labels pointed to by the	input
     arguments lp1 and lp2.

     mac_equal compares	the two	labels for equality.

RETURN VALUE    [Toc]    [Back]

     mac_dominate returns 1 if and only	if lp1 dominates lp2 else it returns
     0.	 Errors	return -1.

     mac_equal returns 1 if the	two labels are equal, 0	otherwise.  Errors
     return -1.

ERRORS    [Toc]    [Back]

     EINVAL	     One of the	labels was not valid.

SEE ALSO    [Toc]    [Back]

      
      
     mac_valid(3C)
     dominance(5)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mint_dom IRIX compare two MINT labels for the dominates/equal relationship
msen_dom IRIX compare two MSEN labels for the dominates/equal relationship
base IRIX Establish IS-A relationship with base class at compile time
labelit IRIX provide labels for file systems
getpmac FreeBSD print process-related MAC labels
mactest IRIX Tests MAC labels on directories, files and processes.
libdisk FreeBSD library interface to slice and partition labels
mac_from_msen IRIX convert independent sensitivity or integrity labels to mac_t
xlv_assemble IRIX initialize logical volume objects from disk labels
xlv_admin IRIX modifies XLV logical volume objects and their disk labels
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service