Races in group/passwd code (was Re: etc_changed, passwd & group)

Christopher Faylor cgf@redhat.com
Tue Jan 21 15:34:00 GMT 2003

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
you otherwise.

So, I will have another revamp coming shortly.


More information about the Cygwin-patches mailing list