summaryrefslogtreecommitdiff
path: root/usr/src/lib/brand/labeled/zone/platform.xml
blob: 710d54ba51169d637fc8e7204ba7e51f1406ac0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0"?>

<!--
 CDDL HEADER START

 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]

 CDDL HEADER END

 Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 DO NOT EDIT THIS FILE.
-->

<!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
    "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">

<platform name="labeled" allow-exclusive-ip="true">

	<!-- Global filesystems to mount when booting the zone -->
	<global_mount special="/dev" directory="/dev" type="dev"
	    opt="attrdir=%R/root/dev"/>

	<!--
	    etc/gconf has GNOME settings; this mount facilitates sharing
	    the global zone settings with the labeled zone.
	-->
	<global_mount special="/etc/gconf" directory="/etc/gconf-global"
	    type="lofs"/>

	<!--
	    Export rendezvous files for global zone services including
	    Xorg, nscd, and labeld.
	-->
	<global_mount special="/var/tsol/doors"
	    directory="/var/tsol/doors" type="lofs"/>

	<!-- Local filesystems to mount when booting the zone -->
	<mount special="/proc" directory="/proc" type="proc" />
	<mount special="ctfs" directory="/system/contract" type="ctfs" />
	<mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
	<mount special="objfs" directory="/system/object" type="objfs" />
	<mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />

	<!-- Devices to create under /dev -->
	<device match="arp" />
	<device match="bpf" />
	<device match="conslog" />
	<device match="cpu/self/cpuid" />
	<device match="crypto" />
	<device match="cryptoadm" />
	<device match="dsk" />
	<device match="dtrace/*" />
	<device match="dtrace/provider/*" />
	<device match="eventfd" />
	<device match="fd" />
	<device match="full" />
	<device match="ipnet" />
	<device match="kstat" />
	<device match="lo0" />
	<device match="log" />
	<device match="logindmux" />
	<device match="nsmb" />
	<device match="net/*" />
	<device match="null" />
	<device match="openprom" arch="sparc" />
	<device match="poll" />
	<device match="pool" />
	<device match="ptmx" />
	<device match="pts/*" />
	<device match="random" />
	<device match="rdsk" />
	<device match="rmt" />
	<device match="sad/user" />
	<device match="svvslo0" />
	<device match="svvslo1" />
	<device match="svvslo2" />
	<device match="svvslo3" />
	<device match="swap" />
	<device match="sysevent" />
	<device match="tcp" />
	<device match="tcp6" />
	<device match="term" />
	<device match="ticlts" />
	<device match="ticots" />
	<device match="ticotsord" />
	<device match="tty" />
	<device match="udp" />
	<device match="udp6" />
	<device match="urandom" />
	<device match="zero" />
	<device match="zfs" />

	<!-- Devices to create in exclusive IP zone only -->
	<device match="dld" ip-type="exclusive" />
	<device match="icmp" ip-type="exclusive" />
	<device match="icmp6" ip-type="exclusive" />
	<device match="ip" ip-type="exclusive" />
	<device match="ip6" ip-type="exclusive" />
	<device match="ipauth" ip-type="exclusive" />
	<device match="ipf" ip-type="exclusive" />
	<device match="ipl" ip-type="exclusive" />
	<device match="iplookup" ip-type="exclusive" />
	<device match="ipmpstub" ip-type="exclusive" />
	<device match="ipnat" ip-type="exclusive" />
	<device match="ipscan" ip-type="exclusive" />
	<device match="ipsecah" ip-type="exclusive" />
	<device match="ipsecesp" ip-type="exclusive" />
	<device match="ipstate" ip-type="exclusive" />
	<device match="ipsync" ip-type="exclusive" />
	<device match="keysock" ip-type="exclusive" />
	<device match="rawip" ip-type="exclusive" />
	<device match="rawip6" ip-type="exclusive" />
	<device match="rts" ip-type="exclusive" />
	<device match="sad/admin" ip-type="exclusive" />
	<device match="sctp" ip-type="exclusive" />
	<device match="sctp6" ip-type="exclusive" />
	<device match="spdsock" ip-type="exclusive" />
	<device match="sppp" ip-type="exclusive" />
	<device match="sppptun" ip-type="exclusive" />
	<device match="vni" ip-type="exclusive" />

	<!-- Renamed devices to create under /dev -->
	<device match="zcons/%z/zoneconsole" name="zconsole" />

	<!-- Symlinks to create under /dev -->
	<symlink source="console" target="zconsole" />
	<symlink source="dtremote" target="/dev/null" />
	<symlink source="msglog" target="zconsole" />
	<symlink source="stderr" target="./fd/2" />
	<symlink source="stdin" target="./fd/0" />
	<symlink source="stdout" target="./fd/1" />
	<symlink source="syscon" target="zconsole" />
	<symlink source="sysmsg" target="zconsole" />
	<symlink source="systty" target="zconsole" />

</platform>