Skip to content
  • Kurt Zeilenga's avatar
    Patch: back-passwd needs pwent mutex (ITS#1794) · 445b7982
    Kurt Zeilenga authored
    			================
    Written by Hallvard B. Furuseth and placed into the public domain.
    This software is not subject to any license of the University of Oslo.
    			================
    
    back-passwd uses getpwent() and setpwfile(), which use static data.
    It needs a mutex to make sure these operations can complete without
    interference from another back-passwd call.  Here is a patch.
    
    Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
    445b7982