summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsecdb
diff options
context:
space:
mode:
authornp146283 <none@none>2008-05-15 14:31:32 -0700
committernp146283 <none@none>2008-05-15 14:31:32 -0700
commita9da3307db733eb1739ba859952610bba3d894ab (patch)
tree56f6c91c49074ff9e3b55d5a65514e911b9383d4 /usr/src/lib/libsecdb
parent9fc20c6dac37dd2cce567cc320b59cd5315ab36d (diff)
downloadillumos-joyent-a9da3307db733eb1739ba859952610bba3d894ab.tar.gz
PSARC 2007/679 CPUFreq HAL
6647034 CPUFreq support into HAL
Diffstat (limited to 'usr/src/lib/libsecdb')
-rw-r--r--usr/src/lib/libsecdb/auth_attr.txt1
-rw-r--r--usr/src/lib/libsecdb/help/auths/Makefile3
-rw-r--r--usr/src/lib/libsecdb/help/auths/SysCpuPowerMgmt.html42
-rw-r--r--usr/src/lib/libsecdb/help/profiles/Makefile3
-rw-r--r--usr/src/lib/libsecdb/help/profiles/RtCPUPowerManagement.html38
-rw-r--r--usr/src/lib/libsecdb/prof_attr.txt3
6 files changed, 87 insertions, 3 deletions
diff --git a/usr/src/lib/libsecdb/auth_attr.txt b/usr/src/lib/libsecdb/auth_attr.txt
index 06d85dff7c..1a30841a04 100644
--- a/usr/src/lib/libsecdb/auth_attr.txt
+++ b/usr/src/lib/libsecdb/auth_attr.txt
@@ -157,6 +157,7 @@ solaris.system.power.suspend.:::Suspend the System::help=SysPowerMgmtSuspend.htm
solaris.system.power.suspend.disk:::Suspend to Disk::help=SysPowerMgmtSuspendtoDisk.html
solaris.system.power.suspend.ram:::Suspend to RAM::help=SysPowerMgmtSuspendToRAM.html
solaris.system.power.brightness:::Control LCD Brightness::help=SysPowerMgmtBrightness.html
+solaris.system.power.cpu:::Manage CPU related power::help=SysCpuPowerMgmt.html
#
solaris.smf.manage.iscsitgt:::Manage ISCSI Target Service States::help=SmfValueIscsitgt.html
solaris.smf.read.iscsitgt:::Read ISCSI Target secrets::help=SmfValueIscsitgt.html
diff --git a/usr/src/lib/libsecdb/help/auths/Makefile b/usr/src/lib/libsecdb/help/auths/Makefile
index e168b9ed64..1edf262f78 100644
--- a/usr/src/lib/libsecdb/help/auths/Makefile
+++ b/usr/src/lib/libsecdb/help/auths/Makefile
@@ -136,7 +136,8 @@ HTMLENTS = \
SysPowerMgmtSuspend.html \
SysPowerMgmtSuspendtoDisk.html \
SysPowerMgmtSuspendtoRAM.html \
- SysPowerMgmtBrightness.html
+ SysPowerMgmtBrightness.html \
+ SysCpuPowerMgmt.html
HELPDIR=$(ROOT)/usr/lib/help
AUTHDIR=$(HELPDIR)/auths
diff --git a/usr/src/lib/libsecdb/help/auths/SysCpuPowerMgmt.html b/usr/src/lib/libsecdb/help/auths/SysCpuPowerMgmt.html
new file mode 100644
index 0000000000..b33e17eb8f
--- /dev/null
+++ b/usr/src/lib/libsecdb/help/auths/SysCpuPowerMgmt.html
@@ -0,0 +1,42 @@
+<HTML>
+<!--
+ 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 2008 Sun Microsystems, Inc. All rights reserved.
+ Use is subject to license terms.
+-->
+<!-- SCCS keyword
+#pragma ident "%Z%%M% %I% %E% SMI"
+-->
+<HEAD>
+<!--
+META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"
+-->
+<!--
+META NAME="GENERATOR" CONTENT="Mozilla/4.02 [en] (X11; U; SunOS 5.6 sun4u) [Netscape]"
+-->
+</HEAD>
+<BODY>
+When Manage CPU related power is in the Authorizations Included column, it grants the authorization to modify the system cpu power management policies.
+<p>
+If Manage CPU related power is grayed, then you are not entitled to Add or Remove this authorization.
+<BR>&nbsp;
+</BODY>
+</HTML>
diff --git a/usr/src/lib/libsecdb/help/profiles/Makefile b/usr/src/lib/libsecdb/help/profiles/Makefile
index b8cc361a40..b6f704ccd1 100644
--- a/usr/src/lib/libsecdb/help/profiles/Makefile
+++ b/usr/src/lib/libsecdb/help/profiles/Makefile
@@ -85,7 +85,8 @@ HTMLENTS = \
RtSysPowerMgmtSuspend.html \
RtSysPowerMgmtSuspendtoDisk.html \
RtSysPowerMgmtSuspendtoRAM.html \
- RtSysPowerMgmtBrightness.html
+ RtSysPowerMgmtBrightness.html \
+ RtCPUPowerManagement.html
HELPDIR = $(ROOT)/usr/lib/help
diff --git a/usr/src/lib/libsecdb/help/profiles/RtCPUPowerManagement.html b/usr/src/lib/libsecdb/help/profiles/RtCPUPowerManagement.html
new file mode 100644
index 0000000000..1efbcee585
--- /dev/null
+++ b/usr/src/lib/libsecdb/help/profiles/RtCPUPowerManagement.html
@@ -0,0 +1,38 @@
+<HTML>
+<!--
+ 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 2008 Sun Microsystems, Inc. All rights reserved.
+-- Use is subject to license terms.
+-->
+<HEAD>
+ <TITLE> </TITLE>
+
+
+</HEAD>
+<BODY>
+<!-- ident "%Z%%M% %I% %E% SMI" -->
+
+When CPU Power Management is in the Rights Included column, it grants the right to configure CPU power management policies.
+<p>
+If CPU Power Management is grayed, then you are not entitled to Add or Remove this right.
+<p>
+</BODY>
+</HTML>
diff --git a/usr/src/lib/libsecdb/prof_attr.txt b/usr/src/lib/libsecdb/prof_attr.txt
index 0384d74bf4..45656f7e10 100644
--- a/usr/src/lib/libsecdb/prof_attr.txt
+++ b/usr/src/lib/libsecdb/prof_attr.txt
@@ -34,7 +34,7 @@
All:::Execute any command as the user or role:help=RtAll.html
Audit Control:::Configure Solaris Auditing:auths=solaris.audit.config,solaris.jobs.admin;help=RtAuditCtrl.html
Audit Review:::Review Solaris Auditing logs:auths=solaris.audit.read;help=RtAuditReview.html
-Console User:::Manage System as the Console User:profiles=Suspend To RAM,Suspend To Disk,Brightness;auths=solaris.system.shutdown;help=RtConsUser.html
+Console User:::Manage System as the Console User:profiles=Suspend To RAM,Suspend To Disk,Brightness,CPU Power Management;auths=solaris.system.shutdown;help=RtConsUser.html
Contract Observer:::Reliably observe any/all contract events:help=RtContractObserver.html
Device Management:::Control Access to Removable Media:auths=solaris.device.*;help=RtDeviceMngmnt.html
Printer Management:::Manage printers, daemons, spooling:auths=solaris.print.*,solaris.label.print,solaris.smf.manage.discovery.printers.*,solaris.smf.value.discovery.printers.*;help=RtPrntAdmin.html
@@ -101,3 +101,4 @@ Suspend:::For authorized users to Suspend system:auths=solaris.system.power.susp
Suspend To Disk:::For authorized users to Suspend to Disk:auths=solaris.system.power.suspend.disk;help=RtSysPowerMgmtSuspendToDisk.html
Suspend To RAM:::For authorized users to Suspend to RAM:auths=solaris.system.power.suspend.ram;help=RtSysPowerMgmtSuspendToRAM.html
Brightness:::For authorized users to Control LCD Brightness:auths=solaris.system.power.brightness;help=RtSysPowerMgmtBrightness.html
+CPU Power Management:::For authorized users to manage CPU Power:auths=solaris.system.power.cpu;help=RtCPUPowerManagement.html