Hi, I recently found that Darwin kernel doesn't support getpeereid() for peer unix domain socket credentials. In FreeBSD, it seems getpeereid() has been implemented since certain times before. I think local socket credentials are quite important for Unix applications, such as openssh, openldap, postgresql, and so on. So, I've just ported LOCAL_PEERCRED support from FreeBSD, and attached patch was made against darwin 7.2's xnu and Libc. I tested this patch on Mac OS X 10.3, and seems to work fine. Can someone check this patch? and is it possible that getpeereid() is supported in the next release of darwin? Cheers, -- Etsushi Kato ekato@ees.hokudai.ac.jp [demime 0.98b removed an attachment of type application/octet-stream which had a name of local_peercred_darwin.patch] _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.