Trusted Extensions Library Functions blcompare(3TSOL)
NAME
blcompare, blequal, bldominates, blstrictdom, blinrange -
compare binary labels
SYNOPSIS
cc [flag...] file... -ltsol [library...]
#include
int blequal(const mlabelt *label1, const mlabelt *label2);
int bldominates(const mlabelt *label1, const mlabelt *label2);
int blstrictdom(const mlabelt *label1, const mlabelt *label2);
int blinrange(const mlabelt *label, const branget *range);
DESCRIPTION
These functions compare binary labels for meeting a particu-
lar condition.
The blequal() function compares two labels for equality.
The bldominates() function compares label label1 for domi-
nance over label label2.
The blstrictdom() function compares label label1 for strict
dominance over label label2.
The blinrange() function compares label label for dominance
over range->lowerbound and range->upperbound for dominance
over level label.
RETURN VALUES
These functions return non-zero if their respective condi-
tions are met, otherwise zero is returned.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 20 Jul 2007 1
Trusted Extensions Library Functions blcompare(3TSOL)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
getplabel(3TSOL), labeltostr(3TSOL), libtsol(3LIB),
ucredgetlabel(3C), labelencodings(4), attributes(5),
labels(5)
Determining the Relationship Between Two Labels in Solaris
Trusted Extensions Developer's Guide
NOTES
The functionality described on this manual page is available
only if the system is configured with Trusted Extensions.
SunOS 5.11 Last change: 20 Jul 2007 2
|