MSEN_DOM(3C) MSEN_DOM(3C)
msen_dom, msen_equal - compare two MSEN labels for the dominates/equal
relationship
#include <sys/mac.h>
int msen_dom (msen_t lp1, msen_t lp2);
int msen_equal (msen_t lp1, msen_t lp2);
msen_dom compares the two MSEN labels pointed to by the input arguments
lp1 and lp2.
msen_equal compares the two labels for equality.
msen_dom returns 1 if and only if lp1 dominates lp2 else it returns 0.
Errors return -1.
msen_equal returns 1 if the two labels are equal, 0 otherwise. Errors
return -1.
EINVAL One of the labels was not valid.
msen_from_text(3C), msen_from_mac(3C), msen_valid(3C)
dominance(5)
PPPPaaaaggggeeee 1111 [ Back ]
|