MINT_DOM(3C)MINT_DOM(3C)NAME
mint_dom, mint_equal - compare two MINT labels for the dominates/equal
relationship
SYNOPSIS
#include <sys/mac.h>
int mint_dom (mint_t lp1, mint_t lp2);
int mint_equal (mint_t lp1, mint_t lp2);
DESCRIPTIONmint_dom compares the two MINT labels pointed to by the input arguments
lp1 and lp2.
mint_equal compares the two labels for equality.
RETURN VALUEmint_dom returns 1 if and only if lp1 dominates lp2 else it returns 0.
Errors return -1.
mint_equal returns 1 if the two labels are equal, 0 otherwise. Errors
return -1.
ERRORS
EINVAL One of the labels was not valid.
SEE ALSOmint_from_text(3C), mint_from_mac(3C), mint_valid(3C)dominance(5)
Page 1