This is the mail archive of the
mailing list for the Cygwin project.
Races in group/passwd code (was Re: etc_changed, passwd & group)
After consolidating all of the lock code into a "refresh" method,
I realized that there are some pretty big races in the group/passwd
code. You can't just protect the reading of the buffers against
multiple access, you have to protect all operations which manipulate
the passwd/group buffers since they could be changed out from under
So, I will have another revamp coming shortly.