From owner-freebsd-arch@FreeBSD.ORG Thu May 28 02:54:25 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 12C89106566B for ; Thu, 28 May 2009 02:54:25 +0000 (UTC) (envelope-from zml@FreeBSD.org) Received: from seaxch10.isilon.com (seaxch10.isilon.com [74.85.160.26]) by mx1.freebsd.org (Postfix) with ESMTP id E75978FC28 for ; Thu, 28 May 2009 02:54:24 +0000 (UTC) (envelope-from zml@FreeBSD.org) Received: from famine.isilon.com ([10.54.190.95]) by seaxch10.isilon.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 27 May 2009 19:46:41 -0700 Received: from zloafman by famine.isilon.com with local (Exim 4.69) (envelope-from ) id 1M9Vdh-0003CH-40; Wed, 27 May 2009 19:46:41 -0700 Date: Wed, 27 May 2009 19:46:41 -0700 From: Zachary Loafman To: Sujit K M Message-ID: <20090528024640.GC9388@isilon.com> References: <20090528000147.GB3704@isilon.com> <74fe56020905271931l4c8d4677h3bbcce6d8c8a8605@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74fe56020905271931l4c8d4677h3bbcce6d8c8a8605@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-OriginalArrivalTime: 28 May 2009 02:46:41.0542 (UTC) FILETIME=[87C2B260:01C9DF3E] 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 02:54:25 -0000 On Thu, May 28, 2009 at 08:01:26AM +0530, Sujit K M wrote: > On Thu, May 28, 2009 at 5:31 AM, Zachary Loafman wrote: > > http://fxr.watson.org/fxr/source/bsd/kern/kern_prot.c?v=xnu-1228 > > (see settid and setgroups1) > > How about the licensing. Darwin was open source under Apple's public > license, but no longer. Or is it Mach you are taking about? I'm not proposing porting the code directly, I'm merely asking whether the API and associated semantics are acceptable. It would be fairly straightforward for us to write a unit test that could run on both FreeBSD and OS X after this exercise. -- Zach Loafman | Staff Engineer | Isilon Systems