From darrenm@sac.sfbay.sun.com Tue Apr  8 08:10:30 2008
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 m38FAUSN028522
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Apr 2008 08:10:30 -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 m38FAJJb060839;
	Tue, 8 Apr 2008 09:10:29 -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 <0JZ000BINI5HZD00@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:10:29 -0600 (MDT)
Received: from dm-sfbay-02.sfbay.sun.com ([129.146.11.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ00080NI4D9V40@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:09:49 -0600 (MDT)
Received: from sac.sfbay.sun.com (new-sac.SFBay.Sun.COM [129.146.175.65])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m38F9lRp053755; Tue, 08 Apr 2008 08:09:47 -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 m38F9isY028517; Tue,
 08 Apr 2008 08:09:44 -0700 (PDT)
Received: (from darrenm@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id m38F9ijw028513; Tue,
 08 Apr 2008 08:09:44 -0700 (PDT)
Date: Tue, 08 Apr 2008 08:09:44 -0700 (PDT)
From: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Subject: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
To: PSARC-ext@sun.com
Cc: John.Levon@sun.com, matrix-eng@sun.com
Message-id: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 3702


This was borderline closed-approved automatic for me.  However I choose to
submit it as a fast-track because I don't believe we have done much
(if anything) in the way of review of Python wrappers around OpenSolaris
specific libc functions yet.



Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Python interface to ucred_get(3C)/getpeerucred(3C)
    1.2. Name of Document Author/Supplier:
	 Author:  John Levon
    1.3  Date of This Document:
	08 April, 2008
4. Technical Description

4.1.  Introduction

    Forthcoming work requires access to the ucred_get() family of
    functions from Python. This case introduces the ucred Python
    module.

    A patch binding is requested.

4.2. Python 'ucred' module

    Classification is 'Committed'. The online help should
    speak for itself:

    NAME

    ucred - This module provides an interface to the user credential
    access methods, obtainable either by process ID or file
    descriptor.
 
    CLASSES

    __builtin__.object
        ucred
    
    class ucred(__builtin__.object)
     |  user credentials
     |  
     |  Methods defined here:
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  getegid(...)
     |      Return the effective group ID.
     |  
     |  geteuid(...)
     |      Return the effective user ID.
     |  
     |  getgroups(...)
     |      Return a list of group IDs.
     |  
     |  getlabel(...)
     |      getlabel() -> string
     |      
     |    Return the Trusted Extensions label string, or an empty string if
     |    not available. The label string is converted using the default name
     |    and M_LABEL (human-readable). Raises OSError. See label_to_str(3TSOL).
     |  
     |  getpflags(...)
     |      getpflags(flags) -> int
     |      
     |      Return the values of the specified privilege flags.
     |  
     |  getpid(...)
     |      Return the effective user ID.
     |  
     |  getprojid(...)
     |      Return the project ID.
     |  
     |  getrgid(...)
     |      Return the real group ID.
     |  
     |  getruid(...)
     |      Return the real user ID.
     |  
     |  getsgid(...)
     |      Return the saved group ID.
     |  
     |  getsuid(...)
     |      Return the saved user ID.
     |  
     |  getzoneid(...)
     |      Return the zone ID.
     |  
     |  has_priv(...)
     |      has_priv(set, priv) -> bool
     |      
     |  Return true if the given privilege is set in the specified set.
     |   Raises OSError if the set or privilege is invalid, or a problem occurs.
     |      
     |      Currently, the following privilege sets are defined, as described in
     |      privileges(5):
     |      
     |      Effective
     |      Permitted
     |      Inheritable
     |      Limit
     |  

    FUNCTIONS

    get(...)
        get(pid) -> ucred
        
        Return the credentials of the specified process ID. Raises OSError. See 
        ucred_get(3C).
    
    getpeer(...)
        getpeer(fd) -> ucred
        
        Return the credentials of the peer endpoint of a connection-oriented
        socket (SOCK_STREAM) or STREAM fd at the time the endpoint was created
        or the connection was established. Raises OSError. See getpeerucred(3C).

4.3.  References

  PSARC/2005/532 - Python migration from /usr/sfw to /usr and upgrade to v2.4.x




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


From danek.duvall@Sun.COM Tue Apr  8 08:18:49 2008
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 m38FImsa028616
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Apr 2008 08:18:48 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m38FIQlI000606;
	Tue, 8 Apr 2008 16:18:47 +0100 (BST)
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 <0JZ000C7JIJAWE00@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:18:46 -0600 (MDT)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ0008WMIJA9Z30@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:18:46 -0600 (MDT)
Received: from zruty.sfbay.sun.com (zruty.SFBay.Sun.COM [129.146.168.40])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m38FIixD038527; Tue, 08 Apr 2008 08:18:44 -0700 (PDT)
Received: from zruty.sfbay.sun.com (localhost [127.0.0.1])
	by zruty.sfbay.sun.com (8.14.2+Sun/8.14.2) with ESMTP id m38FIh82013575; Tue,
 08 Apr 2008 08:18:43 -0700 (PDT)
Received: (from dduvall@localhost)
	by zruty.sfbay.sun.com (8.14.2+Sun/8.14.2/Submit) id m38FIhwR013574; Tue,
 08 Apr 2008 08:18:43 -0700 (PDT)
Date: Tue, 08 Apr 2008 08:18:43 -0700
From: Danek Duvall <danek.duvall@Sun.COM>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C)	[PSARC/2008/243
 FastTrack timeout 04/15/2008]
In-reply-to: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
To: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Cc: PSARC-ext@Sun.COM, John.Levon@Sun.COM, matrix-eng@Sun.COM
Message-id: <20080408151843.GP21079@zruty.sfbay.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.16 (2007-06-27)
Status: RO
Content-Length: 1300

On Tue, Apr 08, 2008 at 08:09:44AM -0700, Darren J Moffat wrote:

> This was borderline closed-approved automatic for me.  However I choose
> to submit it as a fast-track because I don't believe we have done much
> (if anything) in the way of review of Python wrappers around OpenSolaris
> specific libc functions yet.

I think that's a good idea for now, at least.  Nothing controversial here,
but it'd be good to have a comment period.

Will there be any attempt to push this module back to the Python community?

>      |  getpflags(...)
>      |      getpflags(flags) -> int
>      |      
>      |      Return the values of the specified privilege flags.

Are there any symbols for the flags?

>      |  has_priv(...)
>      |      has_priv(set, priv) -> bool
>      |      
>      |  Return true if the given privilege is set in the specified set.
>      |   Raises OSError if the set or privilege is invalid, or a problem occurs.
>      |      
>      |      Currently, the following privilege sets are defined, as described in
>      |      privileges(5):
>      |      
>      |      Effective
>      |      Permitted
>      |      Inheritable
>      |      Limit

Are these module-level constants (i.e., "ucred.Effective")?  Are there any
constants for the privs themselves?

Thanks,
Danek

From johnlev@barman.uk.sun.com Tue Apr  8 08:24:22 2008
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 m38FOMbW028668
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Apr 2008 08:24:22 -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 m38FO6Ym027295;
	Tue, 8 Apr 2008 08:24:22 -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 <0JZ000D1LISK8T00@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:24:20 -0600 (MDT)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ0008MNISIA340@brm-avmta-1.central.sun.com>; Tue,
 08 Apr 2008 09:24:19 -0600 (MDT)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2)
 with ESMTP id m38FOEkT023196; Tue, 08 Apr 2008 16:24:14 +0100 (BST)
Received: from johnlev by barman.uk.sun.com with local (Exim 4.42)
	id 1JjFgA-0006DW-Cq; Tue, 08 Apr 2008 16:24:10 +0100
X-URL: http://jurassic.eng/~johnlev/
Date: Tue, 08 Apr 2008 16:24:10 +0100
From: John Levon <john.levon@sun.com>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
In-reply-to: <20080408151843.GP21079@zruty.sfbay.sun.com>
Sender: John Levon <johnlev@barman.uk.sun.com>
To: Danek Duvall <danek.duvall@sun.com>
Cc: Darren J Moffat <darrenm@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        matrix-eng@sun.com
Message-id: <20080408152410.GB23645@barman.uk.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
 <20080408151843.GP21079@zruty.sfbay.sun.com>
User-Agent: Mutt/1.5.6i
Status: RO
Content-Length: 1297

On Tue, Apr 08, 2008 at 08:18:43AM -0700, Danek Duvall wrote:

> Will there be any attempt to push this module back to the Python community?

Yes.

> >      |  getpflags(...)
> >      |      getpflags(flags) -> int
> >      |      
> >      |      Return the values of the specified privilege flags.
> 
> Are there any symbols for the flags?

No (mirroring the Perl module and the C function itself, the flags are
undocumented).

It might be that a future 'priv' module would have flags, but it didn't
seem appropriate here.

> >      |  has_priv(...)
> >      |      has_priv(set, priv) -> bool
> >      |      
> >      |  Return true if the given privilege is set in the specified set.
> >      |   Raises OSError if the set or privilege is invalid, or a problem occurs.
> >      |      
> >      |      Currently, the following privilege sets are defined, as described in
> >      |      privileges(5):
> >      |      
> >      |      Effective
> >      |      Permitted
> >      |      Inheritable
> >      |      Limit
> 
> Are these module-level constants (i.e., "ucred.Effective")?  Are there any

No. The user passes in a string, just like the C API. Again, the correct
place for any constants would be in a priv module. AIUI the string names
are Committed so safe to use.

regards
john

From richlowe@richlowe.net Tue Apr  8 14:02:28 2008
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 m38L2ReM010796
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Apr 2008 14:02:27 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m38L2QIV042608
	for <@sunmail2sca.sfbay.sun.com:psarc-ext@sun.com>; Tue, 8 Apr 2008 15:02:27 -0600 (MDT)
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 <0JZ00001BYG1PO00@nwk-avmta-1.sfbay.Sun.COM> for psarc-ext@sun.com
 (ORCPT psarc-ext@sun.com); Tue, 08 Apr 2008 14:02:26 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ000FGUYG0UIB0@nwk-avmta-1.sfbay.Sun.COM> for
 psarc-ext@sun.com (ORCPT psarc-ext@sun.com); Tue,
 08 Apr 2008 14:02:24 -0700 (PDT)
Received: from relay41i.sun.com ([192.5.209.70])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m38KVMbB003133	for
 <psarc-ext@sun.com>; Tue, 08 Apr 2008 21:02:24 +0000 (GMT)
Received: from mms49es.sun.com ([160.41.221.233] [160.41.221.233])
 by relay41i.sun.com with ESMTP id BT-MMP-440002 for psarc-ext@sun.com; Tue,
 08 Apr 2008 21:02:14 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mms49es.sun.com with ESMTP id BT-MMP-2921515 for psarc-ext@sun.com; Tue,
 08 Apr 2008 21:02:14 +0000 (Z)
Received: from QMTA10.emeryville.ca.mail.comcast.net
 ([76.96.30.17] [76.96.30.17]) by relay4i.sun.com with ESMTP id BT-MMP-16193218
 for psarc-ext@sun.com; Tue, 08 Apr 2008 21:02:14 +0000 (Z)
Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60])
	by QMTA10.emeryville.ca.mail.comcast.net with comcast	id
 Ayze1Z0011HpZEsAA0ot00; Tue, 08 Apr 2008 21:00:50 +0000
Received: from metropolis ([71.203.214.110])
	by OMTA14.emeryville.ca.mail.comcast.net with comcast	id
 B91K1Z00D2PV7Mj8a00000; Tue, 08 Apr 2008 21:01:22 +0000
Date: Tue, 08 Apr 2008 17:01:16 -0400
From: Richard Lowe <richlowe@richlowe.net>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
To: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, matrix-eng@sun.com, John.Levon@sun.com
Message-id: <x78wzojc2r.fsf@richlowe.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Authority-Analysis: v=1.0 c=1 a=t3dXolVvxUkA:10 a=XuuSne3lbUEA:10
 a=ZckuIoj-T0twqyQefKMA:9 a=oI3yAtEQogyKakpPa6UA:7
 a=E2SkFtiYljd88wKVktkcNqenUWcA:4 a=RD1bzJOsQUcA:10 a=oltf0pfCdT4A:10
X-Antispam: No, score=-2.6/5.0, scanned in 0.165sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (usg-unix-v)
Status: RO
Content-Length: 1614

Darren J Moffat <darrenm@sac.sfbay.sun.com> writes:

> This was borderline closed-approved automatic for me.  However I choose to
> submit it as a fast-track because I don't believe we have done much
> (if anything) in the way of review of Python wrappers around OpenSolaris
> specific libc functions yet.
>
>
>
> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 Python interface to ucred_get(3C)/getpeerucred(3C)
>     1.2. Name of Document Author/Supplier:
> 	 Author:  John Levon
>     1.3  Date of This Document:
> 	08 April, 2008
> 4. Technical Description
>
> 4.1.  Introduction
>
>     Forthcoming work requires access to the ucred_get() family of
>     functions from Python. This case introduces the ucred Python
>     module.
>
>     A patch binding is requested.
>
> 4.2. Python 'ucred' module
>
>     Classification is 'Committed'. The online help should
>     speak for itself:
>

A question I asked John on IRC, and he's requested I raise it here.

I vaguely recall seeing the interface stability of Python was
something other than Committed, are we giving an interface more
stability than its only possible surrounding?  (I can't see the
referenced case via opensolaris.org, but other python cases seem to
state that python itself is Contracted External, and other cases for
python bits seem to tend toward Uncommitted)

How would this sit with something like Python 3 should it be
integrated when it appears, or other instances where python may change
incompatibly?

-- Rich

From johnlev@barman.uk.sun.com Tue Apr  8 14:17:50 2008
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 m38LHnQm011002
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Apr 2008 14:17:50 -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 m38LHjR0009444;
	Tue, 8 Apr 2008 22:17:48 +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 <0JZ000F0VZ5MEJ00@nwk-avmta-2.sfbay.sun.com>; Tue,
 08 Apr 2008 14:17:46 -0700 (PDT)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ000DX7Z5KJL20@nwk-avmta-2.sfbay.sun.com>; Tue,
 08 Apr 2008 14:17:45 -0700 (PDT)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2)
 with ESMTP id m38LHgrf024635; Tue, 08 Apr 2008 22:17:42 +0100 (BST)
Received: from johnlev by barman.uk.sun.com with local (Exim 4.42)
	id 1JjLCE-0000a8-7N; Tue, 08 Apr 2008 22:17:38 +0100
X-URL: http://jurassic.eng/~johnlev/
Date: Tue, 08 Apr 2008 22:17:38 +0100
From: John Levon <john.levon@sun.com>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
In-reply-to: <x78wzojc2r.fsf@richlowe.net>
Sender: John Levon <johnlev@barman.uk.sun.com>
To: Richard Lowe <richlowe@richlowe.net>
Cc: Darren J Moffat <darrenm@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        matrix-eng@sun.com
Message-id: <20080408211738.GA2157@barman.uk.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
 <x78wzojc2r.fsf@richlowe.net>
User-Agent: Mutt/1.5.6i
Status: RO
Content-Length: 1185

On Tue, Apr 08, 2008 at 05:01:16PM -0400, Richard Lowe wrote:

> >     Classification is 'Committed'. The online help should
> >     speak for itself:
> 
> I vaguely recall seeing the interface stability of Python was
> something other than Committed, are we giving an interface more
> stability than its only possible surrounding?  (I can't see the
> referenced case via opensolaris.org, but other python cases seem to
> state that python itself is Contracted External, and other cases for
> python bits seem to tend toward Uncommitted)

I'm not sure of the answer to this one myself. The intention of *this*
case is clear, however. May I kindly suggest that discussion around this
point, if there is any, not be part of this fast-track, as I'm not sure
it's relevant.

> How would this sit with something like Python 3 should it be
> integrated when it appears, or other instances where python may change
> incompatibly?

A more pertinent question I believe. If Python 3 comes to Solaris, as it
one day will, no doubt, we won't be removing Python 2. I can imagine a
time when that might happen, in which case we can follow usual
procedure, and I'll be old and grumpy.

regards,
john

From Darren.Moffat@sun.com Wed Apr  9 02:33:52 2008
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 m399XpvR004218
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 9 Apr 2008 02:33:51 -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 m399Xl9I024941;
	Wed, 9 Apr 2008 03:33:50 -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 <0JZ100J0NX8D4L00@brm-avmta-1.central.sun.com>; Wed,
 09 Apr 2008 03:33:49 -0600 (MDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ10027AX89D8C0@brm-avmta-1.central.sun.com>; Wed,
 09 Apr 2008 03:33:48 -0600 (MDT)
Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m399XjRu006037; Wed,
 09 Apr 2008 09:33:45 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JZ100101VZ9CT00@fe-emea-10.sun.com>
 (original mail from Darren.Moffat@Sun.COM); Wed,
 09 Apr 2008 10:33:44 +0100 (BST)
Received: from [129.156.173.199] by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JZ100A4IX81S530@fe-emea-10.sun.com>; Wed,
 09 Apr 2008 10:33:37 +0100 (BST)
Date: Wed, 09 Apr 2008 10:33:37 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
In-reply-to: <20080408211738.GA2157@barman.uk.sun.com>
Sender: Darren.Moffat@sun.com
To: John Levon <John.Levon@sun.com>
Cc: Richard Lowe <richlowe@richlowe.net>,
        Darren J Moffat <darrenm@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        matrix-eng@sun.com
Message-id: <47FC8D71.4010701@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
 <x78wzojc2r.fsf@richlowe.net> <20080408211738.GA2157@barman.uk.sun.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080225)
Status: RO
Content-Length: 1491

John Levon wrote:
> On Tue, Apr 08, 2008 at 05:01:16PM -0400, Richard Lowe wrote:
> 
>>>     Classification is 'Committed'. The online help should
>>>     speak for itself:
>> I vaguely recall seeing the interface stability of Python was
>> something other than Committed, are we giving an interface more
>> stability than its only possible surrounding?  (I can't see the
>> referenced case via opensolaris.org, but other python cases seem to
>> state that python itself is Contracted External, and other cases for
>> python bits seem to tend toward Uncommitted)
> 
> I'm not sure of the answer to this one myself. The intention of *this*
> case is clear, however. May I kindly suggest that discussion around this
> point, if there is any, not be part of this fast-track, as I'm not sure
> it's relevant.

I actually don't see any problem with the taxonomy in this case.

The Python ucred interfaces that this case provides can easily be 
Committed even if they are built from less than Committed bits.

In fact the same is true of the libc versions, they are Committed yet 
they are built on Consolidation Private, Project Private and Internal 
interfaces.  In fact if the Python interfaces to ucred weren't at the 
same taxonomy level as the libc ones I would have an issue.

Making more highly stable things out of less stable things isn't 
actually impossible - in fact it is actually good architecture and 
highly useful (since it changes who it taking the risks).

-- 
Darren J Moffat

From dme@sun.com Wed Apr  9 03:02:51 2008
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 m39A2plZ005445
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 9 Apr 2008 03:02:51 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m39A2kiV010971;
	Wed, 9 Apr 2008 11:02:49 +0100 (BST)
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 <0JZ100L0HYKN9H00@brm-avmta-1.central.sun.com>; Wed,
 09 Apr 2008 04:02:47 -0600 (MDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JZ10020ZYJPD6F0@brm-avmta-1.central.sun.com>; Wed,
 09 Apr 2008 04:02:14 -0600 (MDT)
Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m39A2DXD010610; Wed,
 09 Apr 2008 10:02:13 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JZ100901XW52J00@fe-emea-10.sun.com> (original mail from dme@sun.com)
 ; Wed, 09 Apr 2008 11:02:13 +0100 (BST)
Received: from [10.0.1.152] (host83-217-165-81.dsl.vispa.com [83.217.165.81])
 by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JZ100A95YJ2S530@fe-emea-10.sun.com>; Wed,
 09 Apr 2008 11:02:07 +0100 (BST)
Date: Wed, 09 Apr 2008 11:01:49 +0100
From: David Edmondson <dme@sun.com>
Subject: Re: Python interface to ucred_get(3C)/getpeerucred(3C) [PSARC/2008/243
 FastTrack timeout 04/15/2008]
In-reply-to: <47FC8D71.4010701@Sun.COM>
Sender: David.Edmondson@sun.com
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: John Levon <john.levon@sun.com>, Richard Lowe <richlowe@richlowe.net>,
        Darren J Moffat <darrenm@sac.sfbay.sun.com>, PSARC-ext@sun.com,
        matrix-eng@sun.com
Message-id: <905E58C0-1168-4485-9157-08FEC654BA51@sun.com>
MIME-version: 1.0
X-Mailer: Apple Mail (2.919.2)
Content-type: text/plain; delsp=yes; format=flowed; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200804081509.m38F9ijw028513@sac.sfbay.sun.com>
 <x78wzojc2r.fsf@richlowe.net> <20080408211738.GA2157@barman.uk.sun.com>
 <47FC8D71.4010701@Sun.COM>
Status: RO
Content-Length: 322


On 9 Apr 2008, at 10:33, Darren J Moffat wrote:
> Making more highly stable things out of less stable things isn't  
> actually impossible - in fact it is actually good architecture and  
> highly useful (since it changes who it taking the risks).

Making more stable things out of less stable things _is_ architecture.


From Darren.Moffat@sun.com Wed Apr  9 10:13:01 2008
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 m39HD1RF022234
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 9 Apr 2008 10:13:01 -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 m39HCruo024357;
	Wed, 9 Apr 2008 18:13:00 +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 <0JZ200L1VIHLUC00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 09 Apr 2008 10:12:57 -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 <0JZ2008OUIHIWVD0@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 09 Apr 2008 10:12:55 -0700 (PDT)
Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m39HCrZ1006055; Wed,
 09 Apr 2008 17:12:53 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JZ200101IAPXF00@fe-emea-10.sun.com>
 (original mail from Darren.Moffat@Sun.COM); Wed,
 09 Apr 2008 18:12:53 +0100 (BST)
Received: from [129.156.173.199] by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JZ200DM9IHDVI10@fe-emea-10.sun.com>; Wed,
 09 Apr 2008 18:12:50 +0100 (BST)
Date: Wed, 09 Apr 2008 18:12:49 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: 2008/243 Python interface to ucred_get(3C)/getpeercred(3C)
Sender: Darren.Moffat@sun.com
To: John.Levon@sun.com, matrix-eng@sun.com, psarc-ext@sun.com
Message-id: <47FCF911.1050200@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.9 (X11/20080225)
Status: RO
Content-Length: 53

Closed approved in PSARC today.

-- 
Darren J Moffat

