1getzonepath(1)                   User Commands                  getzonepath(1)
2
3
4

NAME

6       getzonepath - display root path of the zone corresponding to the speci‐
7       fied label
8

SYNOPSIS

10       /usr/bin/getzonepath  {sensitivity-label}
11
12

DESCRIPTION

14       getzonepath displays the root pathname of the running labeled zone that
15       corresponds  to  the specified sensitivity label. The returned pathname
16       is relative to the caller's root pathname, and has the specified sensi‐
17       tivity label.
18
19
20       If  the caller is in the global zone, the returned pathname is not tra‐
21       versable unless the caller's processes have the file_dac_search  privi‐
22       lege.
23
24
25       If  the  caller  is in a labeled zone, the caller's label must dominate
26       the specified label. Access to files under  the  returned  pathname  is
27       restricted to read-only operations.
28

ATTRIBUTES

30       See attributes(5) for descriptions of the following attributes:
31
32
33
34
35       ┌─────────────────────────────┬─────────────────────────────┐
36       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
37       ├─────────────────────────────┼─────────────────────────────┤
38       │Availability                 │SUNWtsu                      │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │Stability                    │Committed                    │
41       └─────────────────────────────┴─────────────────────────────┘
42

DIAGNOSTICS

44       getzonepath exits with one of the following values:
45
46       0    Success
47
48
49       1    Usage error
50
51
52       2    Failure;  error  message  is the system error number from getzone‐
53            rootbylabel(3TSOL)
54
55

SEE ALSO

57       getzonerootbylabel(3TSOL), attributes(5)
58
59
60       Acquiring a Sensitivity Label in Solaris Trusted Extensions Developer's
61       Guide
62

NOTES

64       The  functionality  described  on this manual page is available only if
65       the system is configured with Trusted Extensions.
66
67
68
69SunOS 5.11                        20 Jul 2007                   getzonepath(1)
Impressum