1libtsol(3LIB) Interface Libraries libtsol(3LIB)
2
3
4
6 libtsol - Solaris Trusted Extensions library
7
9 cc [flag...] file... -ltsol [library...]
10 #include <tsol.h>
11
12
14 Functions in this library provide programmatic access to Solaris
15 Trusted Extensions features such as labels and Mandatory Access Policy
16 (MAC) on systems that are configured with Trusted Extensions software.
17
19 The shared object libtsol.so.2 provides the public interfaces that are
20 defined below. See Intro(3) for additional information on shared object
21 interfaces.
22
23 Committed Functions
24 bldominates blequal
25 blstrictdom getpathbylabel
26 getplabel getdevicerange
27 getuserrange getzoneidbylabel
28 getzonelabelbyid getzonerootbyid
29 getzonerootbylabel getzonerootbyname
30 label_to_str labelbuilder
31 labelclipping m_label_alloc
32 m_label_dup m_label_free
33 setflabel str_to_label
34 tsol_lbuild_create tsol_lbuild_destroy
35 tsol_lbuild_get tsol_lbuild_set
36 Xbcleartos Xbsltos
37
38
39 Obsolete Functions
40 The following functions are preserved to aid porting.
41
42
43
44
45 Function Committed Replacement
46 bcleartoh label_to_str
47 bcleartoh_r label_to_str
48 bcleartos label_to_str
49 bltocolor label_to_str
50 bltocolor_r label_to_str
51 bsltoh label_to_str
52 bsltoh_r label_to_str
53 bsltos label_to_str
54 h_alloc label_to_str
55 h_free label_to_str
56 htobclear str_to_label
57 htobsl str_to_label
58 sbcleartos str_to_label
59 sbsltos str_to_label
60 stobsl str_to_label
61 stobclear str_to_label
62
63
65 /lib/libtsol.so.2 shared object
66
67
68 /lib/64/libtsol.so.2 64-bit shared object
69
70
72 See attributes(5) for descriptions of the following attributes:
73
74
75
76
77 ┌─────────────────────────────┬─────────────────────────────┐
78 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
79 ├─────────────────────────────┼─────────────────────────────┤
80 │Availability │SUNWcsl │
81 ├─────────────────────────────┼─────────────────────────────┤
82 │Interface Stability │See the manual pages for │
83 │ │the individual functions. │
84 ├─────────────────────────────┼─────────────────────────────┤
85 │MT-Level │Safe │
86 └─────────────────────────────┴─────────────────────────────┘
87
89 Intro(3), libtsnet(3LIB), attributes(5)
90
92 The functionality described on this manual page is available only if
93 the system has been configured with Trusted Extensions.
94
95
96
97SunOS 5.11 20 Jul 2007 libtsol(3LIB)