pthread_setugid_np

Sujit K M kmsujit at gmail.com
Thu May 28 03:04:46 UTC 2009


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 <zml at freebsd.org> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
>


More information about the freebsd-arch mailing list