From owner-freebsd-arch@FreeBSD.ORG Thu May 28 03:04:46 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DC74106566B for ; Thu, 28 May 2009 03:04:46 +0000 (UTC) (envelope-from kmsujit@gmail.com) Received: from mail-pz0-f105.google.com (mail-pz0-f105.google.com [209.85.222.105]) by mx1.freebsd.org (Postfix) with ESMTP id 113428FC13 for ; Thu, 28 May 2009 03:04:45 +0000 (UTC) (envelope-from kmsujit@gmail.com) Received: by pzk3 with SMTP id 3so748383pzk.3 for ; Wed, 27 May 2009 20:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=db9Q36IrVHhuecG/Do1sgzeaLaV6uTqlLML6jgix3Ts=; b=rtkLzasNlgjGdp4U1bZBJc+lZcDLsKpcuRbE2hJYeJXITDwfaMgB/dqQ/zyQCq9HGZ NheotC/W72vXxP1BLM2qUAQZWJkyQzWm/xgPty/m5s/rj7hpAsQk7sN+u7UfcAACF2Pm rUQ0g+YDXyBZX00O2Ucbvdp8hJQU3/c9J9wuo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OfWslsLXQBRResqzZ5P4axD95wxhvM1vC1EmiktFVxDzlrmCvTK1bxsFHYWnJhASfP DDJD8nv2Knyfw4Y93iHKY1xTq/YTb9VlMnYg+Q/ttx9Bl/72DNR2YXV6VyPALPLlf4ry 1qfoDaoMY+jZ+EFzmQA4TIBN8t51rcXLFACWE= MIME-Version: 1.0 Received: by 10.110.47.17 with SMTP id u17mr18528tiu.41.1243477886449; Wed, 27 May 2009 19:31:26 -0700 (PDT) In-Reply-To: <20090528000147.GB3704@isilon.com> References: <20090528000147.GB3704@isilon.com> Date: Thu, 28 May 2009 08:01:26 +0530 Message-ID: <74fe56020905271931l4c8d4677h3bbcce6d8c8a8605@mail.gmail.com> From: Sujit K M To: Zachary Loafman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: steven.danneman@isilon.com, freebsd-arch@freebsd.org Subject: Re: pthread_setugid_np X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 03:04:46 -0000 How about the licensing. Darwin was open source under Apple's public license, but no longer. Or is it Mach you are taking about? On Thu, May 28, 2009 at 5:31 AM, Zachary Loafman wrote: > arch@ - > > Isilon has need of per-thread impersonation. We're looking at > implementing something like the pthread_setugid_np mechanism found on > OS X, loosely documented in the code: > > http://fxr.watson.org/fxr/source/bsd/kern/kern_prot.c?v=xnu-1228 > (see settid and setgroups1) > > and some here: > http://lists.apple.com/archives/perfoptimization-dev/2008/Jan/msg00043.html > > Does anyone have strong objections to Apple's APIs here? There's > obviously no portable itnerface to handle it, and it seems a little > saner to just adopt someone else's API/semantics rather than reinvent. > > -- > Zach Loafman | Staff Engineer | Isilon Systems > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >