Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_getugid_np and pthread_setugid_np?



Kaelin Colclasure <mailto:email@hidden> wrote (Saturday, January 26, 2008 5:02 PM -0800):
It's not a security mechanism-- a thread that had the privilege to set credentials can always revert back to its original credentials by calling:

pthread_setugid_np(KAUTH_UID_NONE, KAUTH_GID_NONE);

Sweet!

That's exactly what I was looking for. So can you tell me if that's documented anywhere -- or is this just in the collective knowledge of the Mac OS X Gestalt?

I'll file a bug report on the lack of documentation for pthread_getugid_np/pthread_setugid_np.

Thanks so very much for the info.

James
--
James Bucanek

_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: pthread_getugid_np and pthread_setugid_np? (From: Kaelin Colclasure <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.