2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LIBTSOL 3LIB "Jul 20, 2007"
8 libtsol \- Solaris Trusted Extensions library
12 \fBcc\fR [\fIflag\fR...] \fIfile\fR... \fB-ltsol\fR [\fIlibrary\fR...]
19 Functions in this library provide programmatic access to Solaris Trusted
20 Extensions features such as labels and Mandatory Access Policy (MAC) on systems
21 that are configured with Trusted Extensions software.
25 The shared object \fBlibtsol.so.2\fR provides the public interfaces that are
26 defined below. See \fBIntro\fR(3) for additional information on shared object
28 .SS "Committed Functions"
35 \fBbldominates\fR \fBblequal\fR
36 \fBblstrictdom\fR \fBgetpathbylabel\fR
37 \fBgetplabel\fR \fBgetdevicerange\fR
38 \fBgetuserrange\fR \fBgetzoneidbylabel\fR
39 \fBgetzonelabelbyid\fR \fBgetzonerootbyid\fR
40 \fBgetzonerootbylabel\fR \fBgetzonerootbyname\fR
41 \fBlabel_to_str\fR \fBlabelbuilder\fR
42 \fBlabelclipping\fR \fBm_label_alloc\fR
43 \fBm_label_dup\fR \fBm_label_free\fR
44 \fBsetflabel\fR \fBstr_to_label\fR
45 \fBtsol_lbuild_create\fR \fBtsol_lbuild_destroy\fR
46 \fBtsol_lbuild_get\fR \fBtsol_lbuild_set\fR
47 \fBXbcleartos\fR \fBXbsltos\fR
50 .SS "Obsolete Functions"
53 The following functions are preserved to aid porting.
60 Function Committed Replacement
61 \fBbcleartoh\fR \fBlabel_to_str\fR
62 \fBbcleartoh_r\fR \fBlabel_to_str\fR
63 \fBbcleartos\fR \fBlabel_to_str\fR
64 \fBbltocolor\fR \fBlabel_to_str\fR
65 \fBbltocolor_r\fR \fBlabel_to_str\fR
66 \fBbsltoh\fR \fBlabel_to_str\fR
67 \fBbsltoh_r\fR \fBlabel_to_str\fR
68 \fBbsltos\fR \fBlabel_to_str\fR
69 \fBh_alloc\fR \fBlabel_to_str\fR
70 \fBh_free\fR \fBlabel_to_str\fR
71 \fBhtobclear\fR \fBstr_to_label\fR
72 \fBhtobsl\fR \fBstr_to_label\fR
73 \fBsbcleartos\fR \fBstr_to_label\fR
74 \fBsbsltos\fR \fBstr_to_label\fR
75 \fBstobsl\fR \fBstr_to_label\fR
76 \fBstobclear\fR \fBstr_to_label\fR
83 \fB\fB/lib/libtsol.so.2\fR\fR
92 \fB\fB/lib/64/libtsol.so.2\fR\fR
101 See \fBattributes\fR(5) for descriptions of the following attributes:
109 ATTRIBUTE TYPE ATTRIBUTE VALUE
111 Interface Stability T{
112 See the manual pages for the individual functions.
121 \fBIntro\fR(3), \fBlibtsnet\fR(3LIB), \fBattributes\fR(5)
125 The functionality described on this manual page is available only if the system
126 has been configured with Trusted Extensions.