1blcompare(3TSOL)     Trusted Extensions Library Functions     blcompare(3TSOL)
2
3
4

NAME

6       blcompare,  blequal,  bldominates,  blstrictdom,  blinrange  -  compare
7       binary labels
8

SYNOPSIS

10       cc [flag...] file... -ltsol [library...]
11       #include <tsol/label.h>
12
13       int blequal(const m_label_t *label1, const m_label_t *label2);
14
15
16       int bldominates(const m_label_t *label1, const m_label_t *label2);
17
18
19       int blstrictdom(const m_label_t *label1, const m_label_t *label2);
20
21
22       int blinrange(const m_label_t *label, const brange_t *range);
23
24

DESCRIPTION

26       These functions compare binary labels for meeting a  particular  condi‐
27       tion.
28
29
30       The blequal() function compares two labels for equality.
31
32
33       The  bldominates()   function  compares label label1 for dominance over
34       label label2.
35
36
37       The blstrictdom()  function compares label label1 for strict  dominance
38       over label label2.
39
40
41       The  blinrange()   function  compares  label  label  for dominance over
42       rangelower_bound and rangeupper_bound for dominance over level label.
43

RETURN VALUES

45       These functions return non-zero if their respective conditions are met,
46       otherwise zero is returned.
47

ATTRIBUTES

49       See attributes(5) for descriptions of the following attributes:
50
51
52
53
54       ┌─────────────────────────────┬─────────────────────────────┐
55       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
56       ├─────────────────────────────┼─────────────────────────────┤
57       │Interface Stability          │Committed                    │
58       ├─────────────────────────────┼─────────────────────────────┤
59       │MT-Level                     │MT-Safe                      │
60       └─────────────────────────────┴─────────────────────────────┘
61

SEE ALSO

63       getplabel(3TSOL),   label_to_str(3TSOL),   libtsol(3LIB),  ucred_getla‐
64       bel(3C), label_encodings(4), attributes(5), labels(5)
65
66
67       Determining the Relationship Between  Two  Labels  in  Solaris  Trusted
68       Extensions Developer's Guide
69

NOTES

71       The  functionality  described  on this manual page is available only if
72       the system is configured with Trusted Extensions.
73
74
75
76SunOS 5.11                        20 Jul 2007                 blcompare(3TSOL)
Impressum