Re: GSS-APIv3 sketch

Nicolas Williams <Nicolas.Williams@sun.com> Thu, 12 November 2009 20:28 UTC

Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEA453A67DD for <kitten@core3.amsl.com>; Thu, 12 Nov 2009 12:28:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.019
X-Spam-Level:
X-Spam-Status: No, score=-6.019 tagged_above=-999 required=5 tests=[AWL=0.027, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dJIVPWRO35Ux for <kitten@core3.amsl.com>; Thu, 12 Nov 2009 12:28:52 -0800 (PST)
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by core3.amsl.com (Postfix) with ESMTP id D1A0C3A6359 for <kitten@ietf.org>; Thu, 12 Nov 2009 12:28:52 -0800 (PST)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id nACKTLre006676 for <kitten@ietf.org>; Thu, 12 Nov 2009 20:29:22 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-01.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id nACKTLGB028150 for <kitten@ietf.org>; Thu, 12 Nov 2009 13:29:21 -0700 (MST)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id nACKAGEQ018530; Thu, 12 Nov 2009 14:10:16 -0600 (CST)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id nACKAFM7018529; Thu, 12 Nov 2009 14:10:15 -0600 (CST)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 12 Nov 2009 14:10:15 -0600
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Volker Lendecke <Volker.Lendecke@SerNet.DE>
Subject: Re: GSS-APIv3 sketch
Message-ID: <20091112201015.GI1105@Sun.COM>
References: <20091111184244.GN1105@Sun.COM> <20091111184726.GD10501@Sun.COM> <1257980366.2759.41.camel@naomi.s4.naomi.abartlet.net> <E1N8MHF-004jYm-T7@intern.SerNet.DE> <20091111230442.GY1105@Sun.COM> <E1N8Twh-0057MW-SY@intern.SerNet.DE> <20091112170403.GB1105@Sun.COM> <E1N8eoq-006pRQ-LY@intern.SerNet.DE> <20091112194250.GG1105@Sun.COM> <E1N8fve-006sp9-4C@intern.SerNet.DE>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <E1N8fve-006sp9-4C@intern.SerNet.DE>
User-Agent: Mutt/1.5.7i
Cc: "kitten@ietf.org" <kitten@ietf.org>, Love Hörnquist Åstrand <lha@apple.com>
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Nov 2009 20:28:53 -0000

On Thu, Nov 12, 2009 at 09:06:01PM +0100, Volker Lendecke wrote:
> On Thu, Nov 12, 2009 at 01:42:51PM -0600, Nicolas Williams wrote:
> > On Thu, Nov 12, 2009 at 07:54:56PM +0100, Volker Lendecke wrote:
> > > Let me point out another thing: By using threads and a
> > > purely blocking API, you force everyone into threads. If you
> > > do it async, it is very easy to create blocking wrappers
> > > around the async calls which then can be used in threaded
> > > programs. The other way round is a lot harder.
> > 
> > That ship has sailed: Solaris 10 and up has a unified process model, and
> > it's a threaded process model.
> 
> So GSSAPI is a Solaris only thing?

How does that follow?  I'm advising you that on Solaris you can expect
core libraries to launch threads, and you can expect them to use
pthread_atfork() and atexit() propoerly.

Note that I'm NOT saying "you can't have a libevent-/whatever-based GSS
async extension".  I'm not being hostile to what you propose nor to you.

I'm saying that I think we must have a callback-based GSS async
extension as _one_ choice, and probably the required-to-implement choice
because that one makes the fewest assumptions about operating systems.

Nico
--