mac_dominate(3C)
mac_dominate, mac_equal - compare two MAC labels for the dominates/equal relationship
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME mac_dominate, mac_equal - compare two MAC labels for the dominates/equal relationship SYNOPSIS #include <sys/mac.h> int mac_dominate (mac_t lp1, mac_t lp2); int mac_equal (mac_t lp1, mac_t lp2); DESCRIPTION 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 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 EINVAL One of the labels was not valid. SEE ALSO mac_valid(3C) dominance(5)