xref: /illumos-gate/usr/src/lib/brand/sn1/zone/config.xml (revision 8b80e8cb6855118d46f605e91b5ed4ce83417395)
1<?xml version="1.0"?>
2
3<!--
4 CDDL HEADER START
5
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
9
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
14
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
20
21 CDDL HEADER END
22
23 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24 Use is subject to license terms.
25
26 ident	"%Z%%M%	%I%	%E% SMI"
27
28 DO NOT EDIT THIS FILE.
29-->
30
31<!DOCTYPE brand PUBLIC "-//Sun Microsystems Inc//DTD Brands//EN"
32    "file:///usr/share/lib/xml/dtd/brand.dtd.1">
33
34<brand name="sn1">
35	<modname>sn1_brand</modname>
36
37	<initname>/sbin/init</initname>
38	<login_cmd>/usr/bin/login -z %Z -f %u</login_cmd>
39	<user_cmd>/usr/bin/getent passwd %u</user_cmd>
40
41	<install>/usr/lib/brand/native/sw_support install %z %R</install>
42	<boot>/usr/lib/brand/sn1/sn1_boot %R</boot>
43	<verify_cfg></verify_cfg>
44	<verify_adm></verify_adm>
45	<postclone>/usr/lib/brand/native/sw_support postclone %z %R</postclone>
46	<attach>/usr/lib/brand/native/sw_support attach %z %R</attach>
47	<detach>/usr/lib/brand/native/sw_support detach %z %R</detach>
48	<presnap>/usr/lib/brand/native/sw_support presnap %z %R</presnap>
49	<postsnap>/usr/lib/brand/native/sw_support postsnap %z %R</postsnap>
50	<validatesnap>/usr/lib/brand/native/sw_support validatesnap %z %R</validatesnap>
51
52	<privilege set="default" name="contract_event" />
53	<privilege set="default" name="contract_identity" />
54	<privilege set="default" name="contract_observer" />
55	<privilege set="default" name="file_chown" />
56	<privilege set="default" name="file_chown_self" />
57	<privilege set="default" name="file_dac_execute" />
58	<privilege set="default" name="file_dac_read" />
59	<privilege set="default" name="file_dac_search" />
60	<privilege set="default" name="file_dac_write" />
61	<privilege set="default" name="file_owner" />
62	<privilege set="default" name="file_setid" />
63	<privilege set="default" name="ipc_dac_read" />
64	<privilege set="default" name="ipc_dac_write" />
65	<privilege set="default" name="ipc_owner" />
66	<privilege set="default" name="net_bindmlp" />
67	<privilege set="default" name="net_icmpaccess" />
68	<privilege set="default" name="net_mac_aware" />
69	<privilege set="default" name="net_privaddr" />
70	<privilege set="default" name="net_rawaccess" ip-type="exclusive" />
71	<privilege set="default" name="proc_chroot" />
72	<privilege set="default" name="sys_audit" />
73	<privilege set="default" name="proc_audit" />
74	<privilege set="default" name="proc_lock_memory" />
75	<privilege set="default" name="proc_owner" />
76	<privilege set="default" name="proc_setid" />
77	<privilege set="default" name="proc_taskid" />
78	<privilege set="default" name="sys_acct" />
79	<privilege set="default" name="sys_admin" />
80	<privilege set="default" name="sys_ip_config" ip-type="exclusive" />
81	<privilege set="default" name="sys_mount" />
82	<privilege set="default" name="sys_nfs" />
83	<privilege set="default" name="sys_resource" />
84
85	<privilege set="prohibited" name="dtrace_kernel" />
86	<privilege set="prohibited" name="proc_zone" />
87	<privilege set="prohibited" name="sys_config" />
88	<privilege set="prohibited" name="sys_devices" />
89	<privilege set="prohibited" name="sys_ip_config" ip-type="shared" />
90	<privilege set="prohibited" name="sys_linkdir" />
91	<privilege set="prohibited" name="sys_net_config" />
92	<privilege set="prohibited" name="sys_res_config" />
93	<privilege set="prohibited" name="sys_suser_compat" />
94	<privilege set="prohibited" name="xvm_control" />
95	<privilege set="prohibited" name="virt_manage" />
96
97	<privilege set="required" name="proc_exec" />
98	<privilege set="required" name="proc_fork" />
99	<privilege set="required" name="sys_ip_config" ip-type="exclusive" />
100	<privilege set="required" name="sys_mount" />
101</brand>
102