MINT_DOM(3C) MINT_DOM(3C)
mint_dom, mint_equal - compare two MINT labels for the dominates/equal
relationship
#include <sys/mac.h>
int mint_dom (mint_t lp1, mint_t lp2);
int mint_equal (mint_t lp1, mint_t lp2);
mint_dom compares the two MINT labels pointed to by the input arguments
lp1 and lp2.
mint_equal compares the two labels for equality.
mint_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.
EINVAL One of the labels was not valid.
mint_from_text(3C), mint_from_mac(3C), mint_valid(3C)
dominance(5)
PPPPaaaaggggeeee 1111 [ Back ]
|