Print this page
PSARC 2008/289 Least Privilege for xVM
6674678 PSARC 2008/289 Least Privilege for xVM


   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  "@(#)config.xml 1.6     08/02/25 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/lu/lucreatezone -z %z</install>
  42         <installopts></installopts>
  43         <boot>/usr/lib/brand/sn1/sn1_boot %R</boot>
  44         <halt></halt>
  45         <verify_cfg></verify_cfg>
  46         <verify_adm></verify_adm>


  72         <privilege set="default" name="proc_lock_memory" />
  73         <privilege set="default" name="proc_owner" />
  74         <privilege set="default" name="proc_setid" />
  75         <privilege set="default" name="proc_taskid" />
  76         <privilege set="default" name="sys_acct" />
  77         <privilege set="default" name="sys_admin" />
  78         <privilege set="default" name="sys_ip_config" ip-type="exclusive" />
  79         <privilege set="default" name="sys_mount" />
  80         <privilege set="default" name="sys_nfs" />
  81         <privilege set="default" name="sys_resource" />
  82 
  83         <privilege set="prohibited" name="dtrace_kernel" />
  84         <privilege set="prohibited" name="proc_zone" />
  85         <privilege set="prohibited" name="sys_config" />
  86         <privilege set="prohibited" name="sys_devices" />
  87         <privilege set="prohibited" name="sys_ip_config" ip-type="shared" />
  88         <privilege set="prohibited" name="sys_linkdir" />
  89         <privilege set="prohibited" name="sys_net_config" />
  90         <privilege set="prohibited" name="sys_res_config" />
  91         <privilege set="prohibited" name="sys_suser_compat" />


  92 
  93         <privilege set="required" name="proc_exec" />
  94         <privilege set="required" name="proc_fork" />
  95         <privilege set="required" name="sys_ip_config" ip-type="exclusive" />
  96         <privilege set="required" name="sys_mount" />
  97 </brand>


   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  "@(#)config.xml 1.7     08/05/07 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/lu/lucreatezone -z %z</install>
  42         <installopts></installopts>
  43         <boot>/usr/lib/brand/sn1/sn1_boot %R</boot>
  44         <halt></halt>
  45         <verify_cfg></verify_cfg>
  46         <verify_adm></verify_adm>


  72         <privilege set="default" name="proc_lock_memory" />
  73         <privilege set="default" name="proc_owner" />
  74         <privilege set="default" name="proc_setid" />
  75         <privilege set="default" name="proc_taskid" />
  76         <privilege set="default" name="sys_acct" />
  77         <privilege set="default" name="sys_admin" />
  78         <privilege set="default" name="sys_ip_config" ip-type="exclusive" />
  79         <privilege set="default" name="sys_mount" />
  80         <privilege set="default" name="sys_nfs" />
  81         <privilege set="default" name="sys_resource" />
  82 
  83         <privilege set="prohibited" name="dtrace_kernel" />
  84         <privilege set="prohibited" name="proc_zone" />
  85         <privilege set="prohibited" name="sys_config" />
  86         <privilege set="prohibited" name="sys_devices" />
  87         <privilege set="prohibited" name="sys_ip_config" ip-type="shared" />
  88         <privilege set="prohibited" name="sys_linkdir" />
  89         <privilege set="prohibited" name="sys_net_config" />
  90         <privilege set="prohibited" name="sys_res_config" />
  91         <privilege set="prohibited" name="sys_suser_compat" />
  92         <privilege set="prohibited" name="xvm_control" />
  93         <privilege set="prohibited" name="virt_manage" />
  94 
  95         <privilege set="required" name="proc_exec" />
  96         <privilege set="required" name="proc_fork" />
  97         <privilege set="required" name="sys_ip_config" ip-type="exclusive" />
  98         <privilege set="required" name="sys_mount" />
  99 </brand>