usr/src/lib/brand/native/zone/config.xml
author <gerald.jelinek@sun.com>
Wed, 11 Feb 2009 09:33:05 -0700
changeset 8759 8436cd998603
parent 8023 faf256d5c16c
child 9751 8e29565352fc
permissions -rw-r--r--
PSARC 2008/766 native zones p2v 6667924 physical to virtual utility for native zones

<?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 2009 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 DO NOT EDIT THIS FILE.
-->

<!DOCTYPE brand PUBLIC "-//Sun Microsystems Inc//DTD Brands//EN"
    "file:///usr/share/lib/xml/dtd/brand.dtd.1">

<brand name="native">
	<modname></modname>

	<initname>/sbin/init</initname>
	<login_cmd>/usr/bin/login -z %Z -f %u</login_cmd>
	<user_cmd>/usr/bin/getent passwd %u</user_cmd>

	<install>/usr/lib/brand/native/sw_support install %z %R</install>
	<installopts>a:b:d:psuv</installopts>
	<verify_cfg></verify_cfg>
	<verify_adm></verify_adm>
	<postclone>/usr/lib/brand/native/sw_support postclone %z %R</postclone>
	<attach>/usr/lib/brand/native/sw_support attach %z %R</attach>
	<detach>/usr/lib/brand/native/sw_support detach %z %R</detach>
	<presnap>/usr/lib/brand/native/sw_support presnap %z %R</presnap>
	<postsnap>/usr/lib/brand/native/sw_support postsnap %z %R</postsnap>
	<validatesnap>/usr/lib/brand/native/sw_support validatesnap %z %R</validatesnap>

	<privilege set="default" name="contract_event" />
	<privilege set="default" name="contract_identity" />
	<privilege set="default" name="contract_observer" />
	<privilege set="default" name="file_chown" />
	<privilege set="default" name="file_chown_self" />
	<privilege set="default" name="file_dac_execute" />
	<privilege set="default" name="file_dac_read" />
	<privilege set="default" name="file_dac_search" />
	<privilege set="default" name="file_dac_write" />
	<privilege set="default" name="file_owner" />
	<privilege set="default" name="file_setid" />
	<privilege set="default" name="ipc_dac_read" />
	<privilege set="default" name="ipc_dac_write" />
	<privilege set="default" name="ipc_owner" />
	<privilege set="default" name="net_bindmlp" />
	<privilege set="default" name="net_icmpaccess" />
	<privilege set="default" name="net_mac_aware" />
	<privilege set="default" name="net_observability" />
	<privilege set="default" name="net_privaddr" />
	<privilege set="default" name="net_rawaccess" ip-type="exclusive" />
	<privilege set="default" name="proc_chroot" />
	<privilege set="default" name="sys_audit" />
	<privilege set="default" name="proc_audit" />
	<privilege set="default" name="proc_lock_memory" />
	<privilege set="default" name="proc_owner" />
	<privilege set="default" name="proc_setid" />
	<privilege set="default" name="proc_taskid" />
	<privilege set="default" name="sys_acct" />
	<privilege set="default" name="sys_admin" />
	<privilege set="default" name="sys_ip_config" ip-type="exclusive" />
	<privilege set="default" name="sys_mount" />
	<privilege set="default" name="sys_nfs" />
	<privilege set="default" name="sys_resource" />

	<privilege set="prohibited" name="dtrace_kernel" />
	<privilege set="prohibited" name="proc_zone" />
	<privilege set="prohibited" name="sys_config" />
	<privilege set="prohibited" name="sys_devices" />
	<privilege set="prohibited" name="sys_ip_config" ip-type="shared" />
	<privilege set="prohibited" name="sys_linkdir" />
	<privilege set="prohibited" name="sys_net_config" />
	<privilege set="prohibited" name="sys_res_config" />
	<privilege set="prohibited" name="sys_suser_compat" />
	<privilege set="prohibited" name="xvm_control" />
	<privilege set="prohibited" name="virt_manage" />

	<privilege set="required" name="proc_exec" />
	<privilege set="required" name="proc_fork" />
	<privilege set="required" name="sys_ip_config" ip-type="exclusive" />
	<privilege set="required" name="sys_mount" />
</brand>