diff options
Diffstat (limited to 'usr/src/man/man3tsol')
21 files changed, 153 insertions, 384 deletions
diff --git a/usr/src/man/man3tsol/blcompare.3tsol b/usr/src/man/man3tsol/blcompare.3tsol index 00d8e3f421..2d6536997c 100644 --- a/usr/src/man/man3tsol/blcompare.3tsol +++ b/usr/src/man/man3tsol/blcompare.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH blcompare 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH BLCOMPARE 3TSOL "Jul 20, 2007" .SH NAME blcompare, blequal, bldominates, blstrictdom, blinrange \- compare binary labels @@ -64,15 +64,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/blminmax.3tsol b/usr/src/man/man3tsol/blminmax.3tsol index 79871922bf..9a0280cf0a 100644 --- a/usr/src/man/man3tsol/blminmax.3tsol +++ b/usr/src/man/man3tsol/blminmax.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH blminmax 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH BLMINMAX 3TSOL "Jul 20, 2007" .SH NAME blminmax, blmaximum, blminimum \- bound of two labels .SH SYNOPSIS @@ -50,15 +50,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/bltocolor.3tsol b/usr/src/man/man3tsol/bltocolor.3tsol index 1bd837d99c..69f964e331 100644 --- a/usr/src/man/man3tsol/bltocolor.3tsol +++ b/usr/src/man/man3tsol/bltocolor.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH bltocolor 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH BLTOCOLOR 3TSOL "Jul 20, 2007" .SH NAME bltocolor, bltocolor_r \- get character-coded color name of label .SH SYNOPSIS @@ -52,7 +52,6 @@ for a string of at least \fIsize\fR characters. .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/\fR\fBlabel_encodings\fR\fR .ad @@ -70,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3tsol/bltos.3tsol b/usr/src/man/man3tsol/bltos.3tsol index be16297ad4..250714e028 100644 --- a/usr/src/man/man3tsol/bltos.3tsol +++ b/usr/src/man/man3tsol/bltos.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH bltos 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH BLTOS 3TSOL "Jul 20, 2007" .SH NAME bltos, bsltos, bcleartos \- translate binary labels to character coded labels .SH SYNOPSIS @@ -87,81 +87,67 @@ pre-allocated memory, then \fIstr_len\fR indicates the size of that memory. If The \fIflags\fR argument is \fB0\fR or the logical sum of the following: .sp .ne 2 -.mk .na \fB\fBLONG_WORDS\fR\fR .ad .RS 24n -.rt Translate using long names of words defined in \fIlabel\fR. .RE .sp .ne 2 -.mk .na \fB\fBSHORT_WORDS\fR\fR .ad .RS 24n -.rt Translate using short names of words defined in \fIlabel\fR. If no short name is defined in the \fBlabel_encodings\fR file for a word, the long name is used. .RE .sp .ne 2 -.mk .na \fB\fBLONG_CLASSIFICATION\fR\fR .ad .RS 24n -.rt Translate using long name of classification defined in \fIlabel\fR. .RE .sp .ne 2 -.mk .na \fB\fBSHORT_CLASSIFICATION\fR\fR .ad .RS 24n -.rt Translate using short name of classification defined in \fIlabel\fR. .RE .sp .ne 2 -.mk .na \fB\fBACCESS_RELATED\fR\fR .ad .RS 24n -.rt Translate only \fBaccess-related\fR entries defined in information label \fIlabel\fR. .RE .sp .ne 2 -.mk .na \fB\fBVIEW_EXTERNAL\fR\fR .ad .RS 24n -.rt Translate \fBADMIN_LOW\fR and \fBADMIN_HIGH\fR labels to the lowest and highest labels defined in the \fBlabel_encodings\fR file. .RE .sp .ne 2 -.mk .na \fB\fBVIEW_INTERNAL\fR\fR .ad .RS 24n -.rt Translate \fBADMIN_LOW\fR and \fBADMIN_HIGH\fR labels to the \fBadmin low\fR \fBname\fR and \fBadmin high\fR \fBname\fR strings specified in the \fBlabel_encodings\fR file. If no strings are specified, the strings @@ -170,12 +156,10 @@ Translate \fBADMIN_LOW\fR and \fBADMIN_HIGH\fR labels to the \fBadmin low\fR .sp .ne 2 -.mk .na \fB\fBNO_CLASSIFICATION\fR\fR .ad .RS 24n -.rt Do not translate classification defined in \fIlabel\fR. .RE @@ -214,7 +198,6 @@ return string memory is insufficient to hold the string, these functions return .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/label_encodings\fR\fR .ad @@ -232,15 +215,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3tsol/btohex.3tsol b/usr/src/man/man3tsol/btohex.3tsol index 9185193c8f..e343f59027 100644 --- a/usr/src/man/man3tsol/btohex.3tsol +++ b/usr/src/man/man3tsol/btohex.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH btohex 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH BTOHEX 3TSOL "Jul 20, 2007" .SH NAME btohex, bsltoh, bcleartoh, bsltoh_r, bcleartoh_r, h_alloc, h_free \- convert binary label to hexadecimal @@ -83,23 +83,19 @@ The \fBh_alloc()\fR function allocates memory for the hexadecimal value Valid values for \fItype\fR are: .sp .ne 2 -.mk .na \fB\fBSUN_SL_ID\fR\fR .ad .RS 14n -.rt \fIlabel\fR is a binary sensitivity label. .RE .sp .ne 2 -.mk .na \fB\fBSUN_CLR_ID\fR\fR .ad .RS 14n -.rt \fIlabel\fR is a binary clearance. .RE @@ -119,15 +115,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3tsol/getdevicerange.3tsol b/usr/src/man/man3tsol/getdevicerange.3tsol index 4a5e613f86..cec0f13f68 100644 --- a/usr/src/man/man3tsol/getdevicerange.3tsol +++ b/usr/src/man/man3tsol/getdevicerange.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getdevicerange 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETDEVICERANGE 3TSOL "Jul 20, 2007" .SH NAME getdevicerange \- get the label range of a device .SH SYNOPSIS @@ -57,36 +57,30 @@ blrange_t *range; The \fBgetdevicerange()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 11n -.rt There is not enough memory available to allocate the required bytes. The application could try later. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The physical limits of the system are exceeded by size bytes of memory which cannot be allocated. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Invalid upper or lower bound for device. .RE @@ -98,15 +92,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.16i) |cw(3.34i) -lw(2.16i) |lw(3.34i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/getpathbylabel.3tsol b/usr/src/man/man3tsol/getpathbylabel.3tsol index 01669d0bfc..60bf476141 100644 --- a/usr/src/man/man3tsol/getpathbylabel.3tsol +++ b/usr/src/man/man3tsol/getpathbylabel.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getpathbylabel 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETPATHBYLABEL 3TSOL "Jul 20, 2007" .SH NAME getpathbylabel \- return the zone pathname .SH SYNOPSIS @@ -48,69 +48,57 @@ The \fBgetpathbylabel()\fR function returns a pointer to the The \fBgetpathbylabel()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for a component of the path prefix of \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt \fIresolved_path\fR extends outside the process's allocated address space or beyond \fIbufsize\fR bytes. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt \fIpath\fR or \fIresolved_path\fR was \fINULL\fR, current zone is not the global zone, or \fIsl\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 16n -.rt An \fBI/O\fR error occurred while reading from or writing to the file system. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in translating \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the path argument exceeds \fIPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR (see \fBsysconf\fR(3C)) while \fB_POSIX_NO_TRUNC\fR is in effect (see \fBpathconf\fR(2)). @@ -118,12 +106,10 @@ is longer than \fINAME_MAX\fR (see \fBsysconf\fR(3C)) while .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt The named file does not exist. .RE @@ -135,15 +121,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/getplabel.3tsol b/usr/src/man/man3tsol/getplabel.3tsol index a6c18ba960..10db5e9ed7 100644 --- a/usr/src/man/man3tsol/getplabel.3tsol +++ b/usr/src/man/man3tsol/getplabel.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getplabel 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETPLABEL 3TSOL "Jul 20, 2007" .SH NAME getplabel \- get process label .SH SYNOPSIS @@ -36,12 +36,10 @@ The \fBgetplabel()\fR function fails and \fIlabel_p\fR does not refer to a valid sensitivity label if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt \fIlabel_p\fR points to an invalid address. .RE @@ -53,15 +51,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/getuserrange.3tsol b/usr/src/man/man3tsol/getuserrange.3tsol index 1b404d4caa..5b63556fdc 100644 --- a/usr/src/man/man3tsol/getuserrange.3tsol +++ b/usr/src/man/man3tsol/getuserrange.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getuserrange 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETUSERRANGE 3TSOL "Jul 20, 2007" .SH NAME getuserrange \- get the label range of a user .SH SYNOPSIS @@ -56,12 +56,10 @@ m_range_t *range; The \fBgetuserrange()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by size bytes of memory which cannot be allocated. .RE @@ -74,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.16i) |cw(3.34i) -lw(2.16i) |lw(3.34i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3tsol/getzonelabelbyid.3tsol b/usr/src/man/man3tsol/getzonelabelbyid.3tsol index e6d748d395..b231f29236 100644 --- a/usr/src/man/man3tsol/getzonelabelbyid.3tsol +++ b/usr/src/man/man3tsol/getzonelabelbyid.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getzonelabelbyid 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETZONELABELBYID 3TSOL "Jul 20, 2007" .SH NAME getzonelabelbyid, getzonelabelbyname, getzoneidbylabel \- map between zones and labels @@ -67,12 +67,10 @@ The \fBgetzonelabelbyid()\fR and \fBgetzonelabelbyname()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt The specified zone does not exist. .RE @@ -81,12 +79,10 @@ The specified zone does not exist. The \fBgetzonelabelbyid()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt No zone corresponds to the specified label. .RE @@ -98,15 +94,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/getzonerootbyid.3tsol b/usr/src/man/man3tsol/getzonerootbyid.3tsol index 9b40d76d6d..4abcbc46bf 100644 --- a/usr/src/man/man3tsol/getzonerootbyid.3tsol +++ b/usr/src/man/man3tsol/getzonerootbyid.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH getzonerootbyid 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH GETZONEROOTBYID 3TSOL "Jul 20, 2007" .SH NAME getzonerootbyid, getzonerootbylabel, getzonerootbyname \- map between zone root pathnames and labels @@ -62,45 +62,37 @@ set \fIerrno\fR to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt Invalid argument; pointer location is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIzoneid\fR invalid, or zone not found or not ready. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt Zone does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Unable to allocate pathname. .RE @@ -112,15 +104,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.16i) |cw(3.34i) -lw(2.16i) |lw(3.34i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/hextob.3tsol b/usr/src/man/man3tsol/hextob.3tsol index c259cf8995..2a75eafd03 100644 --- a/usr/src/man/man3tsol/hextob.3tsol +++ b/usr/src/man/man3tsol/hextob.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH hextob 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH HEXTOB 3TSOL "Jul 20, 2007" .SH NAME hextob, htobsl, htobclear \- convert hexadecimal string to binary label .SH SYNOPSIS @@ -66,15 +66,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3tsol/label_to_str.3tsol b/usr/src/man/man3tsol/label_to_str.3tsol index c8d7090bcf..f3ff3b7b5f 100644 --- a/usr/src/man/man3tsol/label_to_str.3tsol +++ b/usr/src/man/man3tsol/label_to_str.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH label_to_str 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH LABEL_TO_STR 3TSOL "Jul 20, 2007" .SH NAME label_to_str \- convert labels to human readable strings .SH SYNOPSIS @@ -16,7 +16,7 @@ label_to_str \- convert labels to human readable strings .nf #include <tsol/label.h> -\fBint\fR \fBlabel_to_str\fR(\fBconst m_label_t *\fR\fIlabel\fR, \fBchar **\fR\fIstring\fR, +\fBint\fR \fBlabel_to_str\fR(\fBconst m_label_t *\fR\fIlabel\fR, \fBchar **\fR\fIstring\fR, \fBconst m_label_str_t\fR \fIconversion_type\fR, \fBuint_t\fR \fIflags\fR); .fi @@ -41,23 +41,19 @@ The \fIconversion_type\fR parameter controls the type of label conversion. Not all types of conversion are valid for all types of label: .sp .ne 2 -.mk .na \fB\fBM_LABEL\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a human readable string based on its type. .RE .sp .ne 2 -.mk .na \fB\fBM_INTERNAL\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to an internal text representation that is safe for storing in a public object. Internal conversions can later be parsed to their same value. @@ -65,24 +61,20 @@ same value. .sp .ne 2 -.mk .na \fB\fBM_COLOR\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a string that represents the color name that the administrator has associated with the label. .RE .sp .ne 2 -.mk .na \fB\fBPRINTER_TOP_BOTTOM\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a human readable string that is appropriate for use as the top and bottom label of banner and trailer pages in the Defense Intelligence Agency (DIA) encodings printed output schema. @@ -90,36 +82,30 @@ Intelligence Agency (DIA) encodings printed output schema. .sp .ne 2 -.mk .na \fB\fBPRINTER_LABEL\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a human readable string that is appropriate for use as the banner page downgrade warning in the DIA encodings printed output schema. .RE .sp .ne 2 -.mk .na \fB\fBPRINTER_CAVEATS\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a human readable string that is appropriate for use as the banner page caveats section in the DIA encodings printed output schema. .RE .sp .ne 2 -.mk .na \fB\fBPRINTER_CHANNELS\fR\fR .ad .RS 22n -.rt Converts \fIlabel\fR to a human readable string that is appropriate for use as the banner page handling channels in the DIA encodings printed output schema. .RE @@ -129,34 +115,28 @@ the banner page handling channels in the DIA encodings printed output schema. The \fIflags\fR parameter provides a hint to the label conversion: .sp .ne 2 -.mk .na \fB\fBDEF_NAMES\fR\fR .ad .RS 15n -.rt The default names are preferred. .RE .sp .ne 2 -.mk .na \fB\fBSHORT_NAMES\fR\fR .ad .RS 15n -.rt Short names are preferred where defined. .RE .sp .ne 2 -.mk .na \fB\fBLONG_NAMES\fR\fR .ad .RS 15n -.rt Long names are preferred. .RE @@ -172,34 +152,28 @@ string pointer is set to \fINULL\fR. The \fBlabel_to_str()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid parameter. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The system does not support label translations. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The physical limits of the system are exceeded by size bytes of memory which cannot be allocated. .RE @@ -212,17 +186,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3tsol/labelbuilder.3tsol b/usr/src/man/man3tsol/labelbuilder.3tsol index 7a55c8a250..989b486e9e 100644 --- a/usr/src/man/man3tsol/labelbuilder.3tsol +++ b/usr/src/man/man3tsol/labelbuilder.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH labelbuilder 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH LABELBUILDER 3TSOL "Jul 20, 2007" .SH NAME labelbuilder, tsol_lbuild_create, tsol_lbuild_get, tsol_lbuild_set, tsol_lbuild_destroy \- create a Motif-based user interface for interactively @@ -81,56 +81,46 @@ The widget information is accessed directly by referencing the following fields of the \fBModLabelData\fR structure. .sp .ne 2 -.mk .na \fB\fBlbuild_dialog\fR\fR .ad .RS 17n -.rt The label builder dialog box. .RE .sp .ne 2 -.mk .na \fB\fBok\fR\fR .ad .RS 17n -.rt The OK pushbutton. .RE .sp .ne 2 -.mk .na \fB\fBcancel\fR\fR .ad .RS 17n -.rt The Cancel pushbutton. .RE .sp .ne 2 -.mk .na \fB\fBreset\fR\fR .ad .RS 17n -.rt The Reset pushbutton. .RE .sp .ne 2 -.mk .na \fB\fBhelp\fR\fR .ad .RS 17n -.rt The Help pushbutton. .RE @@ -139,36 +129,30 @@ The Help pushbutton. The \fBtsol_lbuild_create()\fR parameter list takes the following values: .sp .ne 2 -.mk .na \fBwidget\fR .ad .RS 15n -.rt The widget from which the dialog box is created. Any Motif widget can be passed. .RE .sp .ne 2 -.mk .na \fBok_callback\fR .ad .RS 15n -.rt A callback function that implements the behavior of the OK pushbutton on the dialog box. .RE .sp .ne 2 -.mk .na \fB\fB\&..., NULL\fR\fR .ad .RS 15n -.rt A \fINULL\fR terminated list of extended operations and value pairs that define the characteristics and behavior of the label builder dialog box. .RE @@ -194,33 +178,27 @@ set from input supplied by the end user. These exceptions are noted in the descriptions. .sp .ne 2 -.mk .na \fB\fBLBUILD_MODE\fR\fR .ad .RS 22n -.rt Create a user interface to build a sensitivity label or a clearance. Value is \fBLBUILD_MODE_SL\fR by default. .sp .ne 2 -.mk .na \fB\fBLBUILD_MODE_SL\fR\fR .ad .RS 19n -.rt Build a sensitivity label. .RE .sp .ne 2 -.mk .na \fB\fBLBUILD_MODE_CLR\fR\fR .ad .RS 19n -.rt Build a clearance. .RE @@ -228,68 +206,56 @@ Build a clearance. .sp .ne 2 -.mk .na \fB\fBLBUILD_VALUE_SL\fR\fR .ad .RS 22n -.rt The starting sensitivity label. This value is \fBADMIN_LOW\fR by default and is used when the mode is \fBLBUILD_MODE_SL\fR. .RE .sp .ne 2 -.mk .na \fB\fBLBUILD_VALUE_CLR\fR\fR .ad .RS 22n -.rt The starting clearance. This value is \fBADMIN_LOW\fR by default and is used when the mode is \fBLBUILD_MODE_CLR\fR. .RE .sp .ne 2 -.mk .na \fB\fBLBUILD_USERFIELD\fR\fR .ad .RS 22n -.rt A character string prompt that displays at the top of the label builder dialog box. Value is \fINULL\fR by default. .RE .sp .ne 2 -.mk .na \fB\fBLBUILD_SHOW\fR\fR .ad .RS 22n -.rt Show or hide the label builder dialog box. Value is \fBFALSE\fR by default. .sp .ne 2 -.mk .na \fB\fBTRUE\fR\fR .ad .RS 9n -.rt Show the label builder dialog box. .RE .sp .ne 2 -.mk .na \fB\fBFALSE\fR\fR .ad .RS 9n -.rt Hide the label builder dialog box. .RE @@ -297,24 +263,20 @@ Hide the label builder dialog box. .sp .ne 2 -.mk .na \fB\fBLBUILD_TITLE\fR\fR .ad .RS 22n -.rt A character string title that appears at the top of the label builder dialog box. Value is \fINULL\fR by default. .RE .sp .ne 2 -.mk .na \fB\fBLBUILD_WORK_SL\fR\fR .ad .RS 22n -.rt Not valid for \fBtsol_lbuild_set()\fR or \fBtsol_lbuild_create()\fR. The sensitivity label the end user is building. Value is updated to the end user's input when the end user selects the Update pushbutton or interactively chooses @@ -323,12 +285,10 @@ an option. .sp .ne 2 -.mk .na \fB\fBLBUILD_WORK_CLR\fR\fR .ad .RS 22n -.rt Not valid for \fBtsol_lbuild_set()\fR or \fBtsol_lbuild_create()\fR. The clearance the end user is building. Value is updated to the end user's input when the end user selects the Update pushbutton or interactively chooses an @@ -337,12 +297,10 @@ option. .sp .ne 2 -.mk .na \fB\fBLBUILD_X\fR\fR .ad .RS 22n -.rt The X position in pixels of the top-left corner of the label builder dialog box in relation to the top-left corner of the screen. By default the label builder dialog box is positioned in the middle of the screen. @@ -350,12 +308,10 @@ dialog box is positioned in the middle of the screen. .sp .ne 2 -.mk .na \fB\fBLBUILD_Y\fR\fR .ad .RS 22n -.rt The Y position in pixels of the top-left corner of the label builder dialog box in relation to the top-left corner of the screen. By default the label builder dialog box is positioned in the middle of the screen. @@ -363,12 +319,10 @@ dialog box is positioned in the middle of the screen. .sp .ne 2 -.mk .na \fB\fBLBUILD_LOWER_BOUND\fR\fR .ad .RS 22n -.rt The lowest classification (and related compartments and markings) available to the user as radio buttons for interactively building a label or clearance. This value is the user's minimum label. @@ -376,12 +330,10 @@ value is the user's minimum label. .sp .ne 2 -.mk .na \fB\fBLBUILD_UPPER_BOUND\fR\fR .ad .RS 22n -.rt The highest classification (and related compartments and markings) available to the user as radio buttons for interactively building a label or clearance. A supplied value should be within the user's accreditation range. If no value is @@ -392,12 +344,10 @@ user's clearance. .sp .ne 2 -.mk .na \fB\fBLBUILD_CHECK_AR\fR\fR .ad .RS 22n -.rt Check that the user-built label entered in the Update With field is within the user's accreditation range. A value of 1 means check, and a value of 0 means do not check. If checking is on and the label is out of range, an error message is @@ -406,17 +356,14 @@ raised to the end user. .sp .ne 2 -.mk .na \fB\fBLBUILD_VIEW\fR\fR .ad .RS 22n -.rt Use the internal or external label representation. Value is \fBLBUILD_VIEW_EXTERNAL\fR by default. .sp .ne 2 -.mk .na \fB\fBLBUILD_VIEW_INTERNAL\fR\fR .ad @@ -428,7 +375,6 @@ Use the internal names for the highest and lowest labels in the system: .sp .ne 2 -.mk .na \fB\fBLBUILD_VIEW_EXTERNAL\fR\fR .ad @@ -460,7 +406,7 @@ create the user interface. .nf (ModLabelData *)lbldata = tsol_lbuild_create(widget0, callback_function, LBUILD_MODE, LBUILD_MODE_SL, - LBUILD_TITLE, "Setting Sensitivity Label", + LBUILD_TITLE, "Setting Sensitivity Label", LBUILD_VIEW, LBUILD_VIEW_INTERNAL, LBUILD_X, 200, LBUILD_Y, 200, @@ -507,7 +453,6 @@ tsol_lbuild_destroy(lbldata); .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/dt/include/Dt/ModLabel.h\fR\fR .ad @@ -518,7 +463,6 @@ Header file for label builder functions .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/label_encodings\fR\fR .ad @@ -536,15 +480,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/labelclipping.3tsol b/usr/src/man/man3tsol/labelclipping.3tsol index 9f2aaeb605..2dd0508a35 100644 --- a/usr/src/man/man3tsol/labelclipping.3tsol +++ b/usr/src/man/man3tsol/labelclipping.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH labelclipping 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH LABELCLIPPING 3TSOL "Jul 20, 2007" .SH NAME labelclipping, Xbsltos, Xbcleartos \- translate a binary label and clip to the specified width @@ -35,45 +35,37 @@ effective privileges to translate labels or clearances that dominate the current process' sensitivity label. .sp .ne 2 -.mk .na \fB\fIdisplay\fR\fR .ad .RS 13n -.rt The structure controlling the connection to an X Window System display. .RE .sp .ne 2 -.mk .na \fB\fIsenslabel\fR\fR .ad .RS 13n -.rt The sensitivity label to be translated. .RE .sp .ne 2 -.mk .na \fB\fIclearance\fR\fR .ad .RS 13n -.rt The clearance to be translated. .RE .sp .ne 2 -.mk .na \fB\fIwidth\fR\fR .ad .RS 13n -.rt The width of the translated label or clearance in pixels. If the specified width is shorter than the full label, the label is clipped and the presence of clipped letters is indicated by an arrow. In this example, letters have been @@ -85,24 +77,20 @@ using a width of half the display width. .sp .ne 2 -.mk .na \fB\fIfontlist\fR\fR .ad .RS 13n -.rt A list of fonts and character sets where each font is associated with a character set. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt The value of flags indicates which words in the \fBlabel_encodings\fR(4) file are used for the translation. See the \fBbltos\fR(3TSOL) manual page for a description of the flag values: \fBLONG_WORDS\fR, \fBSHORT_WORDS\fR, @@ -126,7 +114,6 @@ not dominated by the process' sensitivity label and the .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/dt/include/Dt/label_clipping.h\fR\fR .ad @@ -137,7 +124,6 @@ Header file for label clipping functions .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/label_encodings\fR\fR .ad @@ -159,7 +145,7 @@ clearance to a width of 72 pixels. .sp .in +2 .nf -xmstr = Xbcleartos(XtDisplay(topLevel), +xmstr = Xbcleartos(XtDisplay(topLevel), &clearance, 72, fontlist, LONG_WORDS .fi .in -2 @@ -172,15 +158,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3tsol/m_label.3tsol b/usr/src/man/man3tsol/m_label.3tsol index 308d965149..16874cf1b7 100644 --- a/usr/src/man/man3tsol/m_label.3tsol +++ b/usr/src/man/man3tsol/m_label.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH m_label 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH M_LABEL 3TSOL "Jul 20, 2007" .SH NAME m_label, m_label_alloc, m_label_dup, m_label_free \- m_label functions .SH SYNOPSIS @@ -37,23 +37,19 @@ The \fBm_label_alloc()\fR function allocates resources for a new label. The label type can be: .sp .ne 2 -.mk .na \fB\fBMAC_LABEL\fR\fR .ad .RS 14n -.rt A Mandatory Access Control (MAC) label. .RE .sp .ne 2 -.mk .na \fB\fBUSER_CLEAR\fR\fR .ad .RS 14n -.rt A user clearance. .RE @@ -83,23 +79,19 @@ Otherwise, \fB-1\fR is returned and \fIerrno\fR is set to indicate the error. The \fBm_label_alloc()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid parameter. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by size bytes of memory which cannot be allocated. .RE @@ -112,15 +104,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/sbltos.3tsol b/usr/src/man/man3tsol/sbltos.3tsol index edd6e7bd4c..59a70a1ab9 100644 --- a/usr/src/man/man3tsol/sbltos.3tsol +++ b/usr/src/man/man3tsol/sbltos.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH sbltos 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH SBLTOS 3TSOL "Jul 20, 2007" .SH NAME sbltos, sbsltos, sbcleartos \- translate binary labels to canonical character-coded labels @@ -128,7 +128,6 @@ UN TOP/M<\(mi .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/label_encodings\fR\fR .ad @@ -146,15 +145,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelUnsafe +MT-Level Unsafe .TE .sp diff --git a/usr/src/man/man3tsol/setflabel.3tsol b/usr/src/man/man3tsol/setflabel.3tsol index 4760a0b73b..5c4a5e8040 100644 --- a/usr/src/man/man3tsol/setflabel.3tsol +++ b/usr/src/man/man3tsol/setflabel.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH setflabel 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH SETFLABEL 3TSOL "Jul 20, 2007" .SH NAME setflabel \- move file to zone with corresponding sensitivity label .SH SYNOPSIS @@ -113,12 +113,10 @@ Upon successful completion, \fBsetflabel()\fR returns 0. Otherwise it returns The \fBsetflabel()\fR function fails and the file is unchanged if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for a component of the path prefix of \fIpath\fR. .sp The calling process does not have mandatory write access to the final component @@ -129,112 +127,92 @@ does not have \fBPRIV_FILE_MAC_WRITE\fR in its set of effective privileges. .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 16n -.rt There is an open file descriptor reference to the final component of \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBECONNREFUSED\fR\fR .ad .RS 16n -.rt A connection to the label daemon could not be established. .RE .sp .ne 2 -.mk .na \fB\fBEEXIST\fR\fR .ad .RS 16n -.rt A file with the same name exists in the destination directory. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt Improper parameters were received by the label daemon. .RE .sp .ne 2 -.mk .na \fB\fBEISDIR\fR\fR .ad .RS 16n -.rt The existing file is a directory. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in translating \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBEMLINK\fR\fR .ad .RS 16n -.rt The existing file is hardlinked to another file. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the path argument exceeds \fIPATH_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt The file referred to by \fIpath\fR does not exist. .RE .sp .ne 2 -.mk .na \fB\fBEROFS\fR\fR .ad .RS 16n -.rt The file system is read-only or its label is \fBADMIN_LOW\fR or \fBADMIN_HIGH\fR. .RE @@ -247,15 +225,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.16i) |cw(3.34i) -lw(2.16i) |lw(3.34i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3tsol/stobl.3tsol b/usr/src/man/man3tsol/stobl.3tsol index 77a01f3d92..cca58c2e5f 100644 --- a/usr/src/man/man3tsol/stobl.3tsol +++ b/usr/src/man/man3tsol/stobl.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH stobl 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH STOBL 3TSOL "Jul 20, 2007" .SH NAME stobl, stobsl, stobclear \- translate character-coded labels to binary labels .SH SYNOPSIS @@ -71,12 +71,10 @@ is specified in \fIflags\fR. The \fIflags\fR argument can take the following values: .sp .ne 2 -.mk .na \fB\fBNEW_LABEL\fR\fR .ad .RS 17n -.rt \fIlabel\fR contents is not used, is formatted as a label of the relevant type, and is assumed to be \fBADMIN_LOW\fR for modification changes. If \fBNEW_LABEL\fR is not present, \fIlabel\fR is validated as a defined label of @@ -85,12 +83,10 @@ the correct type dominated by the process's sensitivity label. .sp .ne 2 -.mk .na \fB\fBNO_CORRECTION\fR\fR .ad .RS 17n -.rt No corrections are made if there are errors in the character-coded label \fIstring\fR. \fIstring\fR must be complete and contain all the label components that are required by the \fBlabel_encodings\fR file. The @@ -99,12 +95,10 @@ components that are required by the \fBlabel_encodings\fR file. The .sp .ne 2 -.mk .na \fB\fB0 (zero)\fR\fR .ad .RS 17n -.rt The default action is taken. .RE @@ -154,23 +148,19 @@ When these functions return zero, \fIerror\fR contains one of the following values: .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt Unable to access the \fBlabel_encodings\fR file. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt The label \fIlabel\fR is not valid for this translation and the \fBNEW_LABEL\fR or \fBNO_CORRECTION\fR flag was not specified, or the label \fIlabel\fR is not dominated by the process's \fIsensitivity label\fR and the process does not @@ -179,12 +169,10 @@ have \fBPRIV_SYS_TRANS_LABEL\fR in its set of effective privileges. .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 9n -.rt The character-coded label \fIstring\fR is in error. \fIerror\fR is a one-based index into \fIstring\fR indicating where the translation error occurred. .RE @@ -192,7 +180,6 @@ index into \fIstring\fR indicating where the translation error occurred. .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/label_encodings\fR\fR .ad @@ -210,15 +197,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3tsol/str_to_label.3tsol b/usr/src/man/man3tsol/str_to_label.3tsol index d4e2f3e845..a09be85ed1 100644 --- a/usr/src/man/man3tsol/str_to_label.3tsol +++ b/usr/src/man/man3tsol/str_to_label.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH str_to_label 3TSOL "15 Jun 2009" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH STR_TO_LABEL 3TSOL "Jun 15, 2009" .SH NAME str_to_label \- parse human readable strings to label .SH SYNOPSIS @@ -16,7 +16,7 @@ str_to_label \- parse human readable strings to label .nf #include <tsol/label.h> -\fBint\fR \fBstr_to_label\fR(\fBconst char *\fR\fIstring\fR, \fBm_label_t **\fR\fIlabel\fR, +\fBint\fR \fBstr_to_label\fR(\fBconst char *\fR\fIstring\fR, \fBm_label_t **\fR\fIlabel\fR, \fBconst m_label_type_t\fR \fIlabel_type\fR, \fBuint_t\fR \fIflags\fR, \fBint *\fR\fIerror\fR); .fi @@ -68,23 +68,19 @@ The caller is responsible for freeing the allocated resources by calling the allocated label. The label type can be: .sp .ne 2 -.mk .na \fB\fBMAC_LABEL\fR\fR .ad .RS 14n -.rt The string should be translated as a Mandatory Access Control (MAC) label. .RE .sp .ne 2 -.mk .na \fB\fBUSER_CLEAR\fR\fR .ad .RS 14n -.rt The string should be translated as a label that represents the least upper bound of the labels that the user is allowed to access. .RE @@ -113,12 +109,10 @@ Otherwise, \fB-1\fR is returned, \fIerrno\fR is set to indicate the error, and The \fBstr_to_label()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid parameter. \fBM_BAD_STRING\fR indicates that \fIstring\fR could not be parsed. \fBM_BAD_LABEL\fR indicates that the label passed in was in error. \fBM_OUTSIDE_AR\fR indicates that the resulting label is not within the @@ -127,23 +121,19 @@ parsed. \fBM_BAD_LABEL\fR indicates that the label passed in was in error. .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The system does not support label translations. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The physical limits of the system are exceeded by size bytes of memory which cannot be allocated. .RE @@ -156,17 +146,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3tsol/tsol_getrhtype.3tsol b/usr/src/man/man3tsol/tsol_getrhtype.3tsol index 9a540d88ff..f8ed80cd27 100644 --- a/usr/src/man/man3tsol/tsol_getrhtype.3tsol +++ b/usr/src/man/man3tsol/tsol_getrhtype.3tsol @@ -3,7 +3,7 @@ .\" 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] -.TH tsol_getrhtype 3TSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions Library Functions" +.TH TSOL_GETRHTYPE 3TSOL "Jul 20, 2007" .SH NAME tsol_getrhtype \- get trusted network host type .SH SYNOPSIS @@ -40,12 +40,10 @@ The returned value will be one of the enumerated types that is defined in the .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/security/tsol/tnrhdb\fR\fR .ad .RS 29n -.rt Trusted network remote-host database .RE @@ -57,15 +55,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.16i) |cw(3.34i) -lw(2.16i) |lw(3.34i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |