From jw137282@sac.sfbay.sun.com Tue Aug 25 15:40:09 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7PMe8H7008668
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 25 Aug 2009 15:40:09 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7PMdjC4004983;
	Wed, 26 Aug 2009 06:40:07 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOY00J07EYK0700@nwk-avmta-1.sfbay.Sun.COM>; Tue,
 25 Aug 2009 15:39:56 -0700 (PDT)
Received: from dm-sfbay-02.sfbay.sun.com ([129.146.11.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOY009N3EYK8XA0@nwk-avmta-1.sfbay.Sun.COM>; Tue,
 25 Aug 2009 15:39:56 -0700 (PDT)
Received: from sac.sfbay.sun.com (sac.SFBay.Sun.COM [129.146.226.132])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n7PMdt3i023053; Tue, 25 Aug 2009 15:39:55 -0700 (PDT)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7PMdsZT008662; Tue,
 25 Aug 2009 15:39:54 -0700 (PDT)
Received: (from jw137282@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n7PMdsrs008658; Tue,
 25 Aug 2009 15:39:54 -0700 (PDT)
Date: Tue, 25 Aug 2009 15:39:54 -0700 (PDT)
From: James Walker <jw137282@sac.sfbay.sun.com>
Subject: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
To: PSARC-ext@sun.com
Cc: Patrick.Bredenberg@sun.com
Message-id: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 2074

I'm sponsoring this familiarity case for Pat Bredenberg. The requested
release binding is minor. The man pages have been posted in the materials
directory.

Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 pmtools
    1.2. Name of Document Author/Supplier:
	 Author:  Pat Bredenberg
    1.3  Date of This Document:
	25 August, 2009
4. Technical Description

Summary
=======

    pmtools[1] provides utilities to access, extract, and convert ACPI power
    management tables to a human readable format.  This allows the user to
    directly obtain these tables to view what ACPI information is presented
    to the kernel by the BIOS.  The tables provide an amalgamation of
    information about a given platform.  For example, the kernel uses this
    data (when possible) to define a platform's NUMA configuration by making
    use of the SRAT (System Resource Affinity Table) and the SLIT (System
    Locality Information Table).

    pmtools 20071116 will be integrated into the SFW consolidation as part
    of this proposal, and will be installed as SUNWpmtools. This project
    requests a minor release binding.

    Note: pmtools is architecture specific. Only i386 packages will be 
    delivered. 

Dependencies
============

    None

Interfaces
==========

    Exported Interfaces		Classification	Comment
    -------------------		--------------	-------------------
    SUNWpmtools			Uncommitted	Package (i386 only)

    /usr/bin/acpidump		Uncommitted 	Command
    /usr/bin/acpixtract		Uncommitted	Command
    /usr/bin/madt		Uncommitted	Command

    Imported Interfaces		Classification	Comment
    -------------------		--------------	-------------------
    None

Reference Documents
===================

    [1] http://lesswatts.org/projects/acpi/utilities.php

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		SFW
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From Terry.Whatley@sun.com Tue Aug 25 16:07:01 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7PN71H4006878
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 25 Aug 2009 16:07:01 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7PN6pFn001848
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 25 Aug 2009 16:07:01 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOY00B03G7ECX00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.Com); Tue, 25 Aug 2009 16:06:50 -0700 (PDT)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOY009V3G7E9Q20@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.Com); Tue,
 25 Aug 2009 16:06:50 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7PN6ofN016995	for
 <PSARC-ext@Sun.Com>; Tue, 25 Aug 2009 16:06:50 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOY00K00G1M1C00@fe-sfbay-10.sun.com> for PSARC-ext@Sun.Com
 (ORCPT PSARC-ext@Sun.Com); Tue, 25 Aug 2009 16:06:50 -0700 (PDT)
Received: from [10.0.2.15] ([unknown] [67.123.136.98])
 by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KOY0023DG7ART80@fe-sfbay-10.sun.com>;
 Tue, 25 Aug 2009 16:06:47 -0700 (PDT)
Date: Tue, 25 Aug 2009 16:06:45 -0700
From: "Terry (Sarito) Whatley" <Terry.Whatley@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
Sender: Terry.Whatley@sun.com
To: James Walker <jw137282@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, Patrick.Bredenberg@sun.com
Message-id: <4A946E85.302@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090612)
Status: RO
Content-Length: 2862

James Walker wrote:
> I'm sponsoring this familiarity case for Pat Bredenberg. The requested
> release binding is minor. The man pages have been posted in the materials
> directory.
>
> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
> This information is Copyright 2009 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 pmtools
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Pat Bredenberg
>     1.3  Date of This Document:
> 	25 August, 2009
> 4. Technical Description
>
> Summary
> =======
>
>     pmtools[1] provides utilities to access, extract, and convert ACPI power
>     management tables to a human readable format.  This allows the user to
>     directly obtain these tables to view what ACPI information is presented
>     to the kernel by the BIOS.  The tables provide an amalgamation of
>     information about a given platform.  For example, the kernel uses this
>     data (when possible) to define a platform's NUMA configuration by making
>     use of the SRAT (System Resource Affinity Table) and the SLIT (System
>     Locality Information Table).
>
>     pmtools 20071116 will be integrated into the SFW consolidation as part
>     of this proposal, and will be installed as SUNWpmtools. This project
>     requests a minor release binding.
>
>     Note: pmtools is architecture specific. Only i386 packages will be 
>     delivered. 
>
>   

Is it really necessary to use the "pmtools" name?  None of the commands 
seem to
use this name.  There are many other things that might eventually be 
included in
a collection of "pm tools", including some we already have (powertop comes
to mind), and some that we will want for SPARC as well.  It seems a 
shame to burn
the name for such a small specific thing, when it is really an 
ACPI-specific set of
commands.  The only place pmtools shows up on the referenced url is in 
the name
of the tar file ...

thanks,
sarito

> Dependencies
> ============
>
>     None
>
> Interfaces
> ==========
>
>     Exported Interfaces		Classification	Comment
>     -------------------		--------------	-------------------
>     SUNWpmtools			Uncommitted	Package (i386 only)
>
>     /usr/bin/acpidump		Uncommitted 	Command
>     /usr/bin/acpixtract		Uncommitted	Command
>     /usr/bin/madt		Uncommitted	Command
>
>     Imported Interfaces		Classification	Comment
>     -------------------		--------------	-------------------
>     None
>
> Reference Documents
> ===================
>
>     [1] http://lesswatts.org/projects/acpi/utilities.php
>
> 6. Resources and Schedule
>     6.4. Steering Committee requested information
>    	6.4.1. Consolidation C-team Name:
> 		SFW
>     6.5. ARC review type: FastTrack
>     6.6. ARC Exposure: open
>
> _______________________________________________
> opensolaris-arc mailing list
> opensolaris-arc@opensolaris.org
>   


From James.Walker@Sun.COM Tue Aug 25 17:49:18 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7Q0nIt9019329
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 25 Aug 2009 17:49:18 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7Q0nIvl007210
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 25 Aug 2009 17:49:18 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOY00I01KY5ME00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.Com); Tue, 25 Aug 2009 17:49:17 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOY009Q7KY59R90@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.Com); Tue,
 25 Aug 2009 17:49:17 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7Q0nHoS021082	for
 <PSARC-ext@Sun.Com>; Wed, 26 Aug 2009 00:49:17 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOY00J00KTGZ900@mail-amer.sun.com> for PSARC-ext@Sun.Com
 (ORCPT PSARC-ext@Sun.Com); Tue, 25 Aug 2009 18:49:17 -0600 (MDT)
Received: from [172.20.25.153] ([unknown] [172.20.25.153])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KOY002PFKY3LP60@mail-amer.sun.com> for
 PSARC-ext@Sun.Com (ORCPT PSARC-ext@Sun.Com); Tue,
 25 Aug 2009 18:49:16 -0600 (MDT)
Date: Tue, 25 Aug 2009 19:11:45 -0600
From: Jim Walker <James.Walker@Sun.COM>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A946E85.302@sun.com>
Sender: James.Walker@Sun.COM
To: "Terry (Sarito) Whatley" <Terry.Whatley@Sun.COM>
Cc: PSARC-ext@Sun.COM, Patrick.Bredenberg@Sun.COM,
        Aubrey Li <aubreylee@gmail.com>
Reply-to: James.Walker@Sun.COM
Message-id: <4A948BD1.20908@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A946E85.302@sun.com>
User-Agent: Thunderbird 2.0.0.14 (X11/20080728)
Status: RO
Content-Length: 918

Terry (Sarito) Whatley wrote:
> Is it really necessary to use the "pmtools" name?  None of the commands seem
> to use this name.  There are many other things that might eventually be 
> included in a collection of "pm tools", including some we already have
> (powertop comes to mind), and some that we will want for SPARC as well.  It
> seems a shame to burn the name for such a small specific thing, when it is
> really an ACPI-specific set of commands.  The only place pmtools shows up on
> the referenced url is in the name of the tar file ...

Some unix distros use pmtools some use acpidump as the package name.

http://packages.gentoo.org/package/sys-power/pmtools
http://www.opencsw.org/packages.php/acpidump
http://packages.ubuntu.com/dapper/acpidump

ccing Aubrey Li, the upstream maintainer, who Pat was been working with.

Pat, Aubrey,

Do you have input in terms of which package name to use?

Cheers,
Jim

From aubreylee@gmail.com Tue Aug 25 19:20:40 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7Q2Kdm6021627
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 25 Aug 2009 19:20:39 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7Q2KcvI013553;
	Tue, 25 Aug 2009 20:20:38 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOY0010FP643P00@brm-avmta-1.central.sun.com>; Tue,
 25 Aug 2009 20:20:28 -0600 (MDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOY002U4P64S7B0@brm-avmta-1.central.sun.com>; Tue,
 25 Aug 2009 20:20:28 -0600 (MDT)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7Q2KR0S008945;
 Wed, 26 Aug 2009 02:20:27 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay14i.sun.com with ESMTP id BT-MMP-127720; Wed,
 26 Aug 2009 02:20:27 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-502748; Wed,
 26 Aug 2009 02:20:26 +0000 (Z)
Received: from mail-px0-f178.google.com ([209.85.216.178] [209.85.216.178])
 by relay1i.sun.com with ESMTP id BT-MMP-3164481; Wed,
 26 Aug 2009 02:17:47 +0000 (Z)
Received: by pxi8 with SMTP id 8so6398940pxi.9 for <multiple recipients>; Tue,
 25 Aug 2009 19:17:05 -0700 (PDT)
Received: by 10.142.247.38 with SMTP id u38mr414718wfh.349.1251253025469; Tue,
 25 Aug 2009 19:17:05 -0700 (PDT)
Date: Wed, 26 Aug 2009 10:17:05 +0800
From: Aubrey Li <aubrey@opensolaris.org>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A948BD1.20908@sun.com>
Sender: aubreylee@gmail.com
To: James.Walker@sun.com
Cc: "Terry (Sarito) Whatley" <Terry.Whatley@sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com
Message-id: <6d6a94c50908251917m6232bc6ckfc21dab12e3a3d8b@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma;        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to:cc
 :content-type:content-transfer-encoding;
 bh=u1fbMhVdnYU2rF+b4nU+/s5FY9sBu5el1/IKa51b16Q=;
 b=o2c/cRN/Bz4hShFVudY2fN7G9N89ZmS5L8CinVePx4s1cGg2YwkcGi/ENlkrp14gpo
 y/1YA+4q6z2HnjGoZNO56DtkBUYgzH7I2OW4jM+6TR4zHyLRaY0OoeJ6UG6cb4c0HEnA
 YQOGGuJSXBLGbqgVzHdfZrJbBXCf/T821ZTHQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type
 :content-transfer-encoding;
 b=XjqIK9n/ad644M4qdrJUzXcWP94UHZKAFU8xR2SJf//N8B2XKEToIUtQQ707W2OlNp
 d07eWPcNRQYsDZJFe7LY8WBDBursSxf0DezhPafyWSR6Z05Blcly6bnF3K8hcH1wg7j+
 WCRsVCzMnta2sxej1a08UUzrPSUjJ1BYgjj3c=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Google-Sender-Auth: fcfee8d1f2160b5c
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A946E85.302@sun.com> <4A948BD1.20908@sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id n7Q2Kdm6021627
Status: RO
Content-Length: 1174

On Wed, Aug 26, 2009 at 9:11 AM, Jim Walker<James.Walker@sun.com> wrote:
> Terry (Sarito) Whatley wrote:
>>
>> Is it really necessary to use the "pmtools" name?  None of the commands
>> seem
>> to use this name.  There are many other things that might eventually be
>> included in a collection of "pm tools", including some we already have
>> (powertop comes to mind), and some that we will want for SPARC as well.
>>  It
>> seems a shame to burn the name for such a small specific thing, when it is
>> really an ACPI-specific set of commands.  The only place pmtools shows up
>> on
>> the referenced url is in the name of the tar file ...
>
> Some unix distros use pmtools some use acpidump as the package name.
>
> http://packages.gentoo.org/package/sys-power/pmtools
> http://www.opencsw.org/packages.php/acpidump
> http://packages.ubuntu.com/dapper/acpidump
>
> ccing Aubrey Li, the upstream maintainer, who Pat was been working with.
>
> Pat, Aubrey,
>
> Do you have input in terms of which package name to use?
>
> Cheers,
> Jim
>

I prefer acpidump, there are other packages named pmtools, like this one:
http://www.opencsw.org/packages/pmtools

Thanks,
-Aubrey


From Darren.Moffat@sun.com Wed Aug 26 01:32:40 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7Q8Wdkj015136
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 01:32:40 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7Q8WaJR004492
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 26 Aug 2009 16:32:39 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ0060P6EDMZ00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 26 Aug 2009 01:32:37 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ004UJ6ECLF10@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 26 Aug 2009 01:32:36 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7Q8WZlc014474	for
 <PSARC-ext@sun.com>; Wed, 26 Aug 2009 08:32:35 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOZ006006418D00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 26 Aug 2009 09:32:22 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KOZ00GSF6DQIU00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 26 Aug 2009 09:32:15 +0100 (BST)
Date: Wed, 26 Aug 2009 09:32:14 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A948BD1.20908@sun.com>
Sender: Darren.Moffat@sun.com
To: James.Walker@sun.com
Cc: "Terry (Sarito) Whatley" <Terry.Whatley@sun.com>, psarc-ext@sun.com,
        Aubrey Li <aubreylee@gmail.com>, Patrick.Bredenberg@sun.com
Message-id: <4A94F30E.1030508@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A946E85.302@sun.com> <4A948BD1.20908@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090623)
Status: RO
Content-Length: 946

Jim Walker wrote:
> Terry (Sarito) Whatley wrote:
>> Is it really necessary to use the "pmtools" name?  None of the 
>> commands seem
>> to use this name.  There are many other things that might eventually 
>> be included in a collection of "pm tools", including some we already have
>> (powertop comes to mind), and some that we will want for SPARC as 
>> well.  It
>> seems a shame to burn the name for such a small specific thing, when 
>> it is
>> really an ACPI-specific set of commands.  The only place pmtools shows 
>> up on
>> the referenced url is in the name of the tar file ...
> 
> Some unix distros use pmtools some use acpidump as the package name.
> 
> http://packages.gentoo.org/package/sys-power/pmtools
> http://www.opencsw.org/packages.php/acpidump
> http://packages.ubuntu.com/dapper/acpidump

Given that small set of examples I'd personally follow Ubuntu and 
OpenCSW over Gentoo, and call it acpidump.

-- 
Darren J Moffat

From gdamore@sun.com Wed Aug 26 07:48:50 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QEmogg001611
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 07:48:50 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n7QEmice000623
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 26 Aug 2009 15:48:49 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ00D01NTB4K00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.Com); Wed, 26 Aug 2009 07:48:47 -0700 (PDT)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ00BCSNTBMX70@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.Com); Wed,
 26 Aug 2009 07:48:47 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7QEmlwI019741	for
 <PSARC-ext@Sun.Com>; Wed, 26 Aug 2009 07:48:47 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOZ00H00NP7GH00@fe-sfbay-10.sun.com> for PSARC-ext@Sun.Com
 (ORCPT PSARC-ext@Sun.Com); Wed, 26 Aug 2009 07:48:47 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KOZ00CA1NTAA2A0@fe-sfbay-10.sun.com>; Wed,
 26 Aug 2009 07:48:47 -0700 (PDT)
Date: Wed, 26 Aug 2009 07:48:46 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
Sender: Garrett.Damore@sun.com
To: James Walker <jw137282@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, Patrick.Bredenberg@sun.com
Message-id: <4A954B4E.1030306@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.18 (X11/20081201)
Status: RO
Content-Length: 2715

Man pages in the case directory indicate that Primary Administrator 
(root) is required to run these commands.  Why?  It seems like these 
commands only access information which should be considered public, so 
that anyone can run them.  I realize that there is an issue of accessing 
the underlying device nodes, but perhaps RBAC can be used to make these 
commands available to anyone?  (Or perhaps the underlying device node 
can be provided in "safe, read-only" type of mode?)

    -- Garrett

James Walker wrote:
> I'm sponsoring this familiarity case for Pat Bredenberg. The requested
> release binding is minor. The man pages have been posted in the materials
> directory.
>
> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
> This information is Copyright 2009 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 pmtools
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Pat Bredenberg
>     1.3  Date of This Document:
> 	25 August, 2009
> 4. Technical Description
>
> Summary
> =======
>
>     pmtools[1] provides utilities to access, extract, and convert ACPI power
>     management tables to a human readable format.  This allows the user to
>     directly obtain these tables to view what ACPI information is presented
>     to the kernel by the BIOS.  The tables provide an amalgamation of
>     information about a given platform.  For example, the kernel uses this
>     data (when possible) to define a platform's NUMA configuration by making
>     use of the SRAT (System Resource Affinity Table) and the SLIT (System
>     Locality Information Table).
>
>     pmtools 20071116 will be integrated into the SFW consolidation as part
>     of this proposal, and will be installed as SUNWpmtools. This project
>     requests a minor release binding.
>
>     Note: pmtools is architecture specific. Only i386 packages will be 
>     delivered. 
>
> Dependencies
> ============
>
>     None
>
> Interfaces
> ==========
>
>     Exported Interfaces		Classification	Comment
>     -------------------		--------------	-------------------
>     SUNWpmtools			Uncommitted	Package (i386 only)
>
>     /usr/bin/acpidump		Uncommitted 	Command
>     /usr/bin/acpixtract		Uncommitted	Command
>     /usr/bin/madt		Uncommitted	Command
>
>     Imported Interfaces		Classification	Comment
>     -------------------		--------------	-------------------
>     None
>
> Reference Documents
> ===================
>
>     [1] http://lesswatts.org/projects/acpi/utilities.php
>
> 6. Resources and Schedule
>     6.4. Steering Committee requested information
>    	6.4.1. Consolidation C-team Name:
> 		SFW
>     6.5. ARC review type: FastTrack
>     6.6. ARC Exposure: open
>
>   


From Darren.Moffat@sun.com Wed Aug 26 08:38:49 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QFcnJ8011730
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 08:38:49 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7QFcmY9021316
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 26 Aug 2009 08:38:49 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ00I0PQ4OY500@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Wed, 26 Aug 2009 08:38:48 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ00E1ZQ4NHG30@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Wed,
 26 Aug 2009 08:38:48 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7QFckCg008208	for
 <PSARC-ext@Sun.COM>; Wed, 26 Aug 2009 15:38:47 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOZ00600PPWXB00@fe-emea-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Wed, 26 Aug 2009 16:38:31 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KOZ005PYQ45HB30@fe-emea-09.sun.com>; Wed,
 26 Aug 2009 16:38:29 +0100 (BST)
Date: Wed, 26 Aug 2009 16:38:29 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A954B4E.1030306@sun.com>
Sender: Darren.Moffat@sun.com
To: "Garrett D'Amore" <gdamore@sun.com>
Cc: James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com
Message-id: <4A9556F5.5020805@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090623)
Status: RO
Content-Length: 863

Garrett D'Amore wrote:
> Man pages in the case directory indicate that Primary Administrator 
> (root) is required to run these commands.  Why?  It seems like these 
> commands only access information which should be considered public, so 
> that anyone can run them.  I realize that there is an issue of accessing 
> the underlying device nodes, but perhaps RBAC can be used to make these 
> commands available to anyone?  (Or perhaps the underlying device node 
> can be provided in "safe, read-only" type of mode?)

I'll ask a more specific question.

Exactly what privileges do these commands need to run with to gather the 
information they need.

"Primary Administrator" should never be documented in a man page.  If 
the command really needs all privileges because that is what the device 
node requires then that is what we document.

-- 
Darren J Moffat

From randy.fishel@sun.com Wed Aug 26 09:02:02 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QG22P0013779
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 09:02:02 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7QG1wlL004445;
	Wed, 26 Aug 2009 09:01:59 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ00207R7AF800@brm-avmta-1.central.sun.com>; Wed,
 26 Aug 2009 10:01:58 -0600 (MDT)
Received: from grimmy.eng.sun.com ([129.146.108.114])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ001PCR784W10@brm-avmta-1.central.sun.com>; Wed,
 26 Aug 2009 10:01:57 -0600 (MDT)
Received: from grimmy.eng.sun.com (localhost [127.0.0.1])
	by grimmy.eng.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QFrTmO009707; Wed,
 26 Aug 2009 08:53:29 -0700 (PDT)
Received: from localhost (randyf@localhost)
	by grimmy.eng.sun.com (8.13.8+Sun/8.13.8/Submit) with ESMTP id n7QFrTSA009703;
 Wed, 26 Aug 2009 08:53:29 -0700 (PDT)
Date: Wed, 26 Aug 2009 08:53:29 -0700 (PDT)
From: Randy Fishel <randy.fishel@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A9556F5.5020805@Sun.COM>
X-X-Sender: randyf@grimmy
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com, aubrey@opensolaris.org
Message-id: <alpine.GSO.1.10.0908260848550.9623@grimmy>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
X-Authentication-warning: grimmy.eng.sun.com: randyf owned process doing -bs
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
Status: RO
Content-Length: 1151


On Wed, 26 Aug 2009, Darren J Moffat wrote:

> Garrett D'Amore wrote:
> > Man pages in the case directory indicate that Primary Administrator (root)
> > is required to run these commands.  Why?  It seems like these commands only
> > access information which should be considered public, so that anyone can run
> > them.  I realize that there is an issue of accessing the underlying device
> > nodes, but perhaps RBAC can be used to make these commands available to
> > anyone?  (Or perhaps the underlying device node can be provided in "safe,
> > read-only" type of mode?)
> 
> I'll ask a more specific question.
> 
> Exactly what privileges do these commands need to run with to gather the
> information they need.
> 
> "Primary Administrator" should never be documented in a man page.  If the
> command really needs all privileges because that is what the device node
> requires then that is what we document.
> 
> -- 
> Darren J Moffat
> 

  I believe that the primary reason for privilege is that it extracts 
the tables via /dev/mem.

  I have added Aubrey to the interest list and he should be able to 
respond with more detail.


	---- Randy


From Patrick.Bredenberg@Sun.COM Wed Aug 26 09:13:17 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QGDG6d014091
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 09:13:17 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n7QGDFuN024228
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 26 Aug 2009 17:13:16 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ0000LRQ3PY00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Wed, 26 Aug 2009 09:13:15 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ00EGQRQ2HF50@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Wed,
 26 Aug 2009 09:13:14 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7QGDEwG002245	for
 <PSARC-ext@Sun.COM>; Wed, 26 Aug 2009 16:13:14 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOZ00600PRFCJ00@mail-amer.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Wed, 26 Aug 2009 10:13:14 -0600 (MDT)
Received: from [172.20.25.219] ([unknown] [172.20.25.219])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KOZ006S4RPQFG20@mail-amer.sun.com>; Wed,
 26 Aug 2009 10:13:02 -0600 (MDT)
Date: Wed, 26 Aug 2009 10:11:57 -0600
From: Pat Bredenberg <Patrick.Bredenberg@Sun.COM>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A9556F5.5020805@Sun.COM>
Sender: Patrick.Bredenberg@Sun.COM
To: Darren J Moffat <Darren.Moffat@Sun.COM>
Cc: "Garrett D'Amore" <gdamore@Sun.COM>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@Sun.COM,
        aubrey@opensolaris.org
Reply-to: Patrick.Bredenberg@Sun.COM
Message-id: <4A955ECD.7060105@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 2538

Hi,

On 08/26/09 09:38, Darren J Moffat wrote:
> Garrett D'Amore wrote:
>> Man pages in the case directory indicate that Primary Administrator 
>> (root) is required to run these commands.  Why?  It seems like these 
>> commands only access information which should be considered public, so 
>> that anyone can run them.  I realize that there is an issue of 
>> accessing the underlying device nodes, but perhaps RBAC can be used to 
>> make these commands available to anyone?  (Or perhaps the underlying 
>> device node can be provided in "safe, read-only" type of mode?)
> 
> I'll ask a more specific question.
> 
> Exactly what privileges do these commands need to run with to gather the 
> information they need.
> 
> "Primary Administrator" should never be documented in a man page.  If 
> the command really needs all privileges because that is what the device 
> node requires then that is what we document.
	A number of questions have been posed so I'll address them here. 
Aubrey, if I get something wrong, please feel free to correct me.

"Is it really necessary to use the "pmtools" name?"
	Nope.  In fact, I had originally named it "SUNWacpidump" but over the 
course of code reviews and discussions with the SFW community it was 
renamed to "SUNWpmtools."  I'm indifferent to the name, so changing it 
is no big deal to me.

"Man pages in the case directory indicate that Primary Administrator 
(root) is required to run these commands.  Why?"
	Since this is my first attempt at writing man pages and delivering 
anything into Solaris, I begged, borrowed, and stole from whatever 
resources I could find.  The "Primary Administrator" moniker is likely 
an artifact from this process.  I can change that to something more 
appropriate, or just remove it altogether.

"...but perhaps RBAC can be used to make these commands available to 
anyone?  (Or perhaps the underlying device node can be provided in 
"safe, read-only" type of mode?)"
	The utility access /dev/xsvc, which is owned by root.  Instead of 
specifying the command must be run as root, I could change it to 
something along the lines of, "PRIV_FILE_DAC_READ privileges are 
required to run this command."  Would that suffice?

"Primary Administrator" should never be documented in a man page."
	I pulled that from the man page for powertop(1M).  It sounds like that 
was not appropriate for these utilities.

Thank you all for your time and comments.

Sincerely,
Pat

> 

-- 
Pat Bredenberg
Solaris Quality Engineering
Sun Microsystems, Inc. - Broomfield, CO


From Darren.Moffat@sun.com Wed Aug 26 10:01:17 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QH1HCE015926
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 10:01:17 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n7QH1G6R021351;
	Wed, 26 Aug 2009 10:01:17 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ0060TTY48400@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Aug 2009 10:01:16 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ00EKLTY2HQ90@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Aug 2009 10:01:15 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7QH1Ddo017988; Wed,
 26 Aug 2009 17:01:13 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KOZ00B00TTXO900@fe-emea-09.sun.com>; Wed, 26 Aug 2009 18:01:13 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KOZ005GRTY0HB50@fe-emea-09.sun.com>; Wed,
 26 Aug 2009 18:01:13 +0100 (BST)
Date: Wed, 26 Aug 2009 18:01:12 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <alpine.GSO.1.10.0908260848550.9623@grimmy>
Sender: Darren.Moffat@sun.com
To: Randy Fishel <randy.fishel@sun.com>
Cc: "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com, aubrey@opensolaris.org
Message-id: <4A956A58.2060500@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
 <alpine.GSO.1.10.0908260848550.9623@grimmy>
User-Agent: Thunderbird 2.0.0.21 (X11/20090623)
Status: RO
Content-Length: 1629

Randy Fishel wrote:
> On Wed, 26 Aug 2009, Darren J Moffat wrote:
> 
>> Garrett D'Amore wrote:
>>> Man pages in the case directory indicate that Primary Administrator (root)
>>> is required to run these commands.  Why?  It seems like these commands only
>>> access information which should be considered public, so that anyone can run
>>> them.  I realize that there is an issue of accessing the underlying device
>>> nodes, but perhaps RBAC can be used to make these commands available to
>>> anyone?  (Or perhaps the underlying device node can be provided in "safe,
>>> read-only" type of mode?)
>> I'll ask a more specific question.
>>
>> Exactly what privileges do these commands need to run with to gather the
>> information they need.
>>
>> "Primary Administrator" should never be documented in a man page.  If the
>> command really needs all privileges because that is what the device node
>> requires then that is what we document.
>>
>> -- 
>> Darren J Moffat
>>
> 
>   I believe that the primary reason for privilege is that it extracts 
> the tables via /dev/mem.

Seriously ?

Is there no other way to get this ?

If that is the case then I have some very serious concerns that this 
case raises.  Some of the security related but more about the stablity 
of the interfaces this case is using to get the data if it is reading 
memory directly.  Surely we have a better way to get this data, and 
ideally given it is monitoring data we don't want such massive amount of 
privilege to read it.

Then again maybe this is in the same category as iasl which (ab)uses 
/dev/xsvc for a similar purpose.

-- 
Darren J Moffat

From randy.fishel@sun.com Wed Aug 26 11:07:48 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QI7lix017999
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 11:07:47 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7QI7VnQ019485;
	Thu, 27 Aug 2009 02:07:39 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KOZ00K0NX0NVX00@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Aug 2009 11:07:35 -0700 (PDT)
Received: from grimmy.eng.sun.com ([129.146.108.114])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KOZ00D45X0NWD90@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Aug 2009 11:07:35 -0700 (PDT)
Received: from grimmy.eng.sun.com (localhost [127.0.0.1])
	by grimmy.eng.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7QHx7Qi010061; Wed,
 26 Aug 2009 10:59:07 -0700 (PDT)
Received: from localhost (randyf@localhost)
	by grimmy.eng.sun.com (8.13.8+Sun/8.13.8/Submit) with ESMTP id n7QHx7IV010057;
 Wed, 26 Aug 2009 10:59:07 -0700 (PDT)
Date: Wed, 26 Aug 2009 10:59:07 -0700 (PDT)
From: Randy Fishel <randy.fishel@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A956A58.2060500@Sun.COM>
X-X-Sender: randyf@grimmy
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: Randy Fishel <randy.fishel@sun.com>, "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com, aubrey@opensolaris.org
Message-id: <alpine.GSO.1.10.0908261039420.10006@grimmy>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
 <alpine.GSO.1.10.0908260848550.9623@grimmy> <4A956A58.2060500@Sun.COM>
X-Authentication-warning: grimmy.eng.sun.com: randyf owned process doing -bs
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
Status: RO
Content-Length: 1222


> > > 
> > 
> >   I believe that the primary reason for privilege is that it extracts the
> > tables via /dev/mem.
> 
> Seriously ?

  The lesswatts version does (which was the last version I used), but 
there is an indication that the one we bring in will use /dev/xsvc.

> 
> Is there no other way to get this ?

  Not with this case (at least as far as I know).

> 
> If that is the case then I have some very serious concerns that this case
> raises.  Some of the security related but more about the stablity of the
> interfaces this case is using to get the data if it is reading memory
> directly.  Surely we have a better way to get this data, and ideally given it
> is monitoring data we don't want such massive amount of privilege to read it.

  Certainly, an acpi driver could be written to allow mapping, 
accessing, or managing this space, but I don't see this occuring any 
time soon.

> 
> Then again maybe this is in the same category as iasl which (ab)uses /dev/xsvc
> for a similar purpose.

  Pretty much.  These tools will primarily be used for debugging, so I 
see less of an issue.  But the primary maintainer is on the interest 
list, it is possible that he has some alternate ideas.


	---- Randy


From aubreylee@gmail.com Wed Aug 26 19:47:36 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7R2lZEt019541
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Aug 2009 19:47:35 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n7R2lLsh016821;
	Thu, 27 Aug 2009 03:47:30 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KP000B07L34BL00@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Aug 2009 19:47:28 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KP00014UL33JF70@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Aug 2009 19:47:27 -0700 (PDT)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7R2cqR7002520;
 Thu, 27 Aug 2009 02:47:27 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay13i.sun.com with ESMTP id BT-MMP-249926; Thu,
 27 Aug 2009 02:47:27 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-16190511; Thu,
 27 Aug 2009 02:47:27 +0000 (Z)
Received: from mail-pz0-f199.google.com ([209.85.222.199] [209.85.222.199])
 by relay1i.sun.com with ESMTP id BT-MMP-6004350; Thu,
 27 Aug 2009 02:47:27 +0000 (Z)
Received: by pzk37 with SMTP id 37so729881pzk.17 for <multiple recipients>;
 Wed, 26 Aug 2009 19:47:21 -0700 (PDT)
Received: by 10.143.138.7 with SMTP id q7mr815757wfn.314.1251341241575; Wed,
 26 Aug 2009 19:47:21 -0700 (PDT)
Date: Thu, 27 Aug 2009 10:47:21 +0800
From: Aubrey Li <aubrey@opensolaris.org>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <alpine.GSO.1.10.0908261039420.10006@grimmy>
Sender: aubreylee@gmail.com
To: Randy Fishel <randy.fishel@sun.com>
Cc: Darren J Moffat <Darren.Moffat@sun.com>,
        "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        Patrick.Bredenberg@sun.com
Message-id: <6d6a94c50908261947q4bf95bd9t5a9801c64afe0b94@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma;        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to:cc
 :content-type:content-transfer-encoding;
 bh=hB1YA1HEKR4/7BMzNFojKydc662PEG5+4i7qHS+0Ulg=;
 b=MR51xpTv5cH2mrQ2VeaJkXtAv4i4ymQDfUnNx5nEaHrMEZNqaegtD12P3yrRiWsHb4
 PS8y41YrGcvQIUaO1svz4ZbPfcBGnu/mVUSyoXl4W5fEdNTcjXrW0Uq0kFa0T6I5LgLu
 tb6CIP3oC1ZoVQGg3JXatkkSMsktMB0fBx5pw=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type
 :content-transfer-encoding;
 b=pWmi/mYWJSxT2LQt3jNdDHG9eqgbAfi9lDwkejvCeGYTq/WEG3W+yaeZW6kJA4tejp
 fOSMmrBnWojGVr+QGptBABt1LbTFJEzby+8M9KI08wob+mcOKLTg1o913PrAFkNWsDPZ
 FNQv8ffly5HmCSUiHDiKbU6oAVYgMLWC0RUF4=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Google-Sender-Auth: 98e0e8bace100d36
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
 <alpine.GSO.1.10.0908260848550.9623@grimmy> <4A956A58.2060500@Sun.COM>
 <alpine.GSO.1.10.0908261039420.10006@grimmy>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id n7R2lZEt019541
Status: RO
Content-Length: 1390

Randy Fishel wrote:
>
>> > >
>> >
>> >   I believe that the primary reason for privilege is that it extracts the
>> > tables via /dev/mem.
>>
>> Seriously ?
>
>  The lesswatts version does (which was the last version I used), but
> there is an indication that the one we bring in will use /dev/xsvc.
>
>>
>> Is there no other way to get this ?
>
>  Not with this case (at least as far as I know).
>
>>
>> If that is the case then I have some very serious concerns that this case
>> raises.  Some of the security related but more about the stablity of the
>> interfaces this case is using to get the data if it is reading memory
>> directly.  Surely we have a better way to get this data, and ideally given it
>> is monitoring data we don't want such massive amount of privilege to read it.
>
>  Certainly, an acpi driver could be written to allow mapping,
> accessing, or managing this space, but I don't see this occuring any
> time soon.
>
>>
>> Then again maybe this is in the same category as iasl which (ab)uses /dev/xsvc
>> for a similar purpose.
>
>  Pretty much.  These tools will primarily be used for debugging, so I
> see less of an issue.  But the primary maintainer is on the interest
> list, it is possible that he has some alternate ideas.
>
>
>        ---- Randy
>
>

I don't have any other ideas, these tools are designed for debugging only.

Thanks,
-Aubrey


From Darren.Moffat@sun.com Thu Aug 27 01:54:57 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7R8susX012014
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 27 Aug 2009 01:54:57 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n7R8ssdx000412
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 27 Aug 2009 16:54:55 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KP100K0923JU700@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 27 Aug 2009 01:54:55 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KP100ENH23HAR80@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 27 Aug 2009 01:54:54 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7R8sqA5026212	for
 <PSARC-ext@sun.com>; Thu, 27 Aug 2009 08:54:53 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KP1002001FYE400@fe-emea-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 27 Aug 2009 09:54:44 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KP100HUZ22RE510@fe-emea-09.sun.com>; Thu,
 27 Aug 2009 09:54:27 +0100 (BST)
Date: Thu, 27 Aug 2009 09:54:27 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A955ECD.7060105@sun.com>
Sender: Darren.Moffat@sun.com
To: Patrick.Bredenberg@sun.com
Cc: "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        aubrey@opensolaris.org
Message-id: <4A9649C3.8040009@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
 <4A955ECD.7060105@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090623)
Status: RO
Content-Length: 832

Pat Bredenberg wrote:
>     The utility access /dev/xsvc, which is owned by root.  Instead of 
> specifying the command must be run as root,

The device permissions and ownership aren't relevant here it is what 
privilege the device enforces for reading from it.

 > I could change it to
> something along the lines of, "PRIV_FILE_DAC_READ privileges are 
> required to run this command."  Would that suffice?

Yes that is sufficient, please ensure though that the man page does say 
that it needs this because of use of /dev/xsvc.

I think an entry in the already existing "Maintenance and Repair" RBAC 
profile would also be appropriate, but given the mostly debug nature of 
these I wouldn't insist on it.  It would look like this:

Maintenance and Repair:solaris:cmd:::/usr/bin/acpidump:privs=file_dac_read

-- 
Darren J Moffat

From Patrick.Bredenberg@sun.com Thu Aug 27 06:48:15 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n7RDmEWE024359
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 27 Aug 2009 06:48:14 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n7RDmCb5014432
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 27 Aug 2009 14:48:13 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KP100A3HFODX700@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 27 Aug 2009 06:48:13 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KP100L9MFOCOMC0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 27 Aug 2009 06:48:12 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7RDmC9j010347	for
 <PSARC-ext@sun.com>; Thu, 27 Aug 2009 13:48:12 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KP100000EYLE600@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 27 Aug 2009 07:48:12 -0600 (MDT)
Received: from [192.168.1.101] ([unknown] [98.245.0.108])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KP100GU2FNHG210@mail-amer.sun.com>; Thu,
 27 Aug 2009 07:47:41 -0600 (MDT)
Date: Thu, 27 Aug 2009 07:47:37 -0600
From: Pat Bredenberg <Patrick.Bredenberg@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A9649C3.8040009@Sun.COM>
Sender: Patrick.Bredenberg@sun.com
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: "Garrett D'Amore" <gdamore@sun.com>,
        James Walker <jw137282@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        aubrey@opensolaris.org
Message-id: <E72A1F3B-DD6F-418E-B3AC-7D57C3ACF3AF@Sun.COM>
MIME-version: 1.0
X-Mailer: Apple Mail (2.753.1)
Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A954B4E.1030306@sun.com> <4A9556F5.5020805@Sun.COM>
 <4A955ECD.7060105@sun.com> <4A9649C3.8040009@Sun.COM>
Status: RO
Content-Length: 1106

Hi Darren,
On Aug 27, 2009, at 2:54 AM, Darren J Moffat wrote:

> Pat Bredenberg wrote:
>>     The utility access /dev/xsvc, which is owned by root.  Instead  
>> of specifying the command must be run as root,
>
> The device permissions and ownership aren't relevant here it is  
> what privilege the device enforces for reading from it.
	Right.  I stand corrected.
>
> > I could change it to
>> something along the lines of, "PRIV_FILE_DAC_READ privileges are  
>> required to run this command."  Would that suffice?
>
> Yes that is sufficient, please ensure though that the man page does  
> say that it needs this because of use of /dev/xsvc.
	OK, great.
>
> I think an entry in the already existing "Maintenance and Repair"  
> RBAC profile would also be appropriate, but given the mostly debug  
> nature of these I wouldn't insist on it.  It would look like this:
>
> Maintenance and Repair:solaris:cmd:::/usr/bin/ 
> acpidump:privs=file_dac_read
	I think I'll decline to take this option for the time being.  Thank  
you for the constructive criticism.

Sincerely,
Pat B.
>
> -- 
> Darren J Moffat


From James.Walker@sun.com Tue Sep  1 15:26:29 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n81MQSDu024896
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 1 Sep 2009 15:26:28 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n81MQMtm023166
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 1 Sep 2009 23:26:27 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KPB00M09D01W200@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.Com); Tue, 01 Sep 2009 15:26:25 -0700 (PDT)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KPB00K56D01E020@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.Com); Tue,
 01 Sep 2009 15:26:25 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n81MQPr4023140	for
 <PSARC-ext@Sun.Com>; Tue, 01 Sep 2009 22:26:25 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KPB00700CRQ1800@mail-amer.sun.com> for PSARC-ext@Sun.Com
 (ORCPT PSARC-ext@Sun.Com); Tue, 01 Sep 2009 16:26:25 -0600 (MDT)
Received: from [172.20.25.153] ([unknown] [172.20.25.153])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KPB007OOD00R910@mail-amer.sun.com> for
 PSARC-ext@Sun.Com (ORCPT PSARC-ext@Sun.Com); Tue,
 01 Sep 2009 16:26:24 -0600 (MDT)
Date: Tue, 01 Sep 2009 16:49:41 -0600
From: Jim Walker <James.Walker@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
Sender: James.Walker@sun.com
To: PSARC-ext@sun.com
Cc: Patrick.Bredenberg@sun.com, aubrey@opensolaris.org
Reply-to: James.Walker@sun.com
Message-id: <4A9DA505.4010507@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.14 (X11/20080728)
Status: RO
Content-Length: 411

The timeout for this case has expired and all issues
have been addressed, including changing the package
name to SUNWacpidump and using the following text in
the man pages:

USAGE
      PRIV_FILE_DAC_READ privileges are  necessary  to  use  this
      utility to access /dev/xsvc.

The proposal.txt file and man pages in the case directory
have been updated. I'm marking this case closed approved.

Cheers,
Jim

From Scott.Rotondo@sun.com Tue Sep  1 16:04:25 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n81N4Otm002408
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 1 Sep 2009 16:04:24 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n81N4I7K005814
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 2 Sep 2009 07:04:23 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KPB00C07ER99S00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 01 Sep 2009 16:04:21 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KPB00DB5ER8D2A0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 01 Sep 2009 16:04:21 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n81N4KRU009405	for
 <PSARC-ext@sun.com>; Tue, 01 Sep 2009 23:04:20 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KPB00H00EP3SY00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 01 Sep 2009 17:04:20 -0600 (MDT)
Received: from [129.146.108.62] ([unknown] [129.146.108.62])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KPB00F24ER8OL10@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 01 Sep 2009 17:04:20 -0600 (MDT)
Date: Tue, 01 Sep 2009 16:04:20 -0700
From: Scott Rotondo <Scott.Rotondo@sun.com>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A9DA505.4010507@sun.com>
Sender: Scott.Rotondo@sun.com
To: James.Walker@sun.com
Cc: PSARC-ext@sun.com, Patrick.Bredenberg@sun.com, aubrey@opensolaris.org
Message-id: <4A9DA874.8030200@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A9DA505.4010507@sun.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090323)
Status: RO
Content-Length: 559

Jim Walker wrote:
> The timeout for this case has expired and all issues
> have been addressed, including changing the package
> name to SUNWacpidump and using the following text in
> the man pages:
> 
> USAGE
>      PRIV_FILE_DAC_READ privileges are  necessary  to  use  this
>      utility to access /dev/xsvc.
> 

Nit: That's a single privilege. "The PRIV_FILE_DAC_READ privilege is 
necessary ..."

	Scott

-- 
Scott Rotondo
Principal Engineer, Solaris Security Technologies
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)

From James.Walker@Sun.COM Tue Sep  1 16:26:50 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n81NQoCo005879
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 1 Sep 2009 16:26:50 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n81NQoha021172
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 1 Sep 2009 16:26:50 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KPB00401FSQ3K00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 01 Sep 2009 16:26:50 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KPB00KD3FSPED40@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 01 Sep 2009 16:26:49 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n81NQnV6016444	for
 <PSARC-ext@sun.com>; Tue, 01 Sep 2009 23:26:49 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KPB00C00FLNHL00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 01 Sep 2009 17:26:49 -0600 (MDT)
Received: from [172.20.25.153] ([unknown] [172.20.25.153])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KPB00FKRFSOOL70@mail-amer.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 01 Sep 2009 17:26:49 -0600 (MDT)
Date: Tue, 01 Sep 2009 17:50:06 -0600
From: Jim Walker <James.Walker@Sun.COM>
Subject: Re: pmtools [PSARC/2009/458 FastTrack timeout 09/01/2009]
In-reply-to: <4A9DA874.8030200@sun.com>
Sender: James.Walker@Sun.COM
To: Scott Rotondo <Scott.Rotondo@Sun.COM>
Cc: PSARC-ext@Sun.COM, Patrick.Bredenberg@Sun.COM, aubrey@opensolaris.org
Reply-to: James.Walker@Sun.COM
Message-id: <4A9DB32E.5040802@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200908252239.n7PMdsrs008658@sac.sfbay.sun.com>
 <4A9DA505.4010507@sun.com> <4A9DA874.8030200@sun.com>
User-Agent: Thunderbird 2.0.0.14 (X11/20080728)
Status: RO
Content-Length: 374

Scott Rotondo wrote:
>>
>> USAGE
>>      PRIV_FILE_DAC_READ privileges are  necessary  to  use  this
>>      utility to access /dev/xsvc.
>>
> 
> Nit: That's a single privilege. "The PRIV_FILE_DAC_READ privilege is 
> necessary ..."

Thanks. Updated.

USAGE
      The PRIV_FILE_DAC_READ privilege is  necessary  to  use  this
      utility to access /dev/xsvc.

Cheers,
Jim

