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 GETZONEPATH 1 "Jul 20, 2007"
8 getzonepath \- display root path of the zone corresponding to the specified
13 \fB/usr/bin/getzonepath\fR {\fIsensitivity-label\fR}
19 \fBgetzonepath\fR displays the root pathname of the running labeled zone that
20 corresponds to the specified sensitivity label. The returned pathname is
21 relative to the caller's root pathname, and has the specified sensitivity
25 If the caller is in the global zone, the returned pathname is not traversable
26 unless the caller's processes have the \fBfile_dac_search\fR privilege.
29 If the caller is in a labeled zone, the caller's label must dominate the
30 specified label. Access to files under the returned pathname is restricted to
35 See \fBattributes\fR(5) for descriptions of the following attributes:
43 ATTRIBUTE TYPE ATTRIBUTE VALUE
51 \fBgetzonepath\fR exits with one of the following values:
76 Failure; error message is the system error number from
77 \fBgetzonerootbylabel\fR(3TSOL)
83 \fBgetzonerootbylabel\fR(3TSOL), \fBattributes\fR(5)
86 \fIAcquiring a Sensitivity Label\fR in \fISolaris Trusted Extensions
87 Developer\&'s Guide\fR
91 The functionality described on this manual page is available only if the system
92 is configured with Trusted Extensions.