3261N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
2362N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
2362N/A# You may not use this file except in compliance with the License.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A# Device policy configuration file. When devices are opened the
0N/A# additional access controls in this file are enforced.
0N/A# The format of this file is subject to change without notice.
0N/A# Default open privileges, must be first entry in the file.
0N/A* read_priv_set=none write_priv_set=none
0N/Amm:allkmem read_priv_set=all write_priv_set=all
0N/Amm:kmem read_priv_set=none write_priv_set=all
0N/Amm:mem read_priv_set=none write_priv_set=all
rtvc:rtvc* write_priv_set=none
rtvc:rtvcctl* write_priv_set=sys_config
# Socket interface access permissions.
icmp read_priv_set=net_icmpaccess write_priv_set=net_icmpaccess
icmp6 read_priv_set=net_icmpaccess write_priv_set=net_icmpaccess
ip read_priv_set=net_rawaccess write_priv_set=net_rawaccess
ip6 read_priv_set=net_rawaccess write_priv_set=net_rawaccess
keysock read_priv_set=sys_ip_config write_priv_set=sys_ip_config
ipsecah read_priv_set=sys_ip_config write_priv_set=sys_ip_config
ipsecesp read_priv_set=sys_ip_config write_priv_set=sys_ip_config
spdsock read_priv_set=sys_ip_config write_priv_set=sys_ip_config
# IP observability device access permission
ipnet read_priv_set=net_observability write_priv_set=net_observability
md:admin write_priv_set=sys_config
fssnap:ctl read_priv_set=sys_config write_priv_set=sys_config
scsi_vhci:devctl write_priv_set=sys_devices
# Other devices that require a privilege to open.
envctrltwo read_priv_set=sys_config write_priv_set=sys_config
random write_priv_set=sys_devices
openeepr write_priv_set=all
ipf read_priv_set=sys_ip_config write_priv_set=sys_ip_config