libtsol.3lib revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
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.
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.
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]
libtsol 3LIB "20 Jul 2007" "SunOS 5.11" "Interface Libraries"
NAME
libtsol - Solaris Trusted Extensions library
SYNOPSIS

cc [flag...] file... -ltsol [library...]
#include <tsol.h>
DESCRIPTION

Functions in this library provide programmatic access to Solaris Trusted Extensions features such as labels and Mandatory Access Policy (MAC) on systems that are configured with Trusted Extensions software.

INTERFACES

The shared object libtsol.so.2 provides the public interfaces that are defined below. See Intro(3) for additional information on shared object interfaces.

"Committed Functions"
bldominatesblequal
blstrictdomgetpathbylabel
getplabelgetdevicerange
getuserrangegetzoneidbylabel
getzonelabelbyidgetzonerootbyid
getzonerootbylabelgetzonerootbyname
label_to_strlabelbuilder
labelclippingm_label_alloc
m_label_dupm_label_free
setflabelstr_to_label
tsol_lbuild_createtsol_lbuild_destroy
tsol_lbuild_gettsol_lbuild_set
XbcleartosXbsltos
"Obsolete Functions"

The following functions are preserved to aid porting.

FunctionCommitted Replacement
bcleartohlabel_to_str
bcleartoh_rlabel_to_str
bcleartoslabel_to_str
bltocolorlabel_to_str
bltocolor_rlabel_to_str
bsltohlabel_to_str
bsltoh_rlabel_to_str
bsltoslabel_to_str
h_alloclabel_to_str
h_freelabel_to_str
htobclearstr_to_label
htobslstr_to_label
sbcleartosstr_to_label
sbsltosstr_to_label
stobslstr_to_label
stobclearstr_to_label
FILES

/lib/libtsol.so.2

shared object

/lib/64/libtsol.so.2

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface Stability
See the manual pages for the individual functions.
MT-LevelSafe
SEE ALSO

Intro(3), libtsnet(3LIB), attributes(5)

NOTES

The functionality described on this manual page is available only if the system has been configured with Trusted Extensions.