Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
Ronald> How did you detect that the modern getgroups implementation Ronald> doesn't query the kernel? That would be very odd. I have just found the source code for getgroups: http://www.opensource.apple.com/source/Libc/Libc-594.1.4/sys/getgroups.c As I suspected, it simply calls getgrouplist with the current user name. >From getgrouplist(3) manpage: """ The getgrouplist() function reads through the group file and calculates the group access list for the user specified in name. """ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com