cvs commit: src/usr.sbin/pw edgroup.c fileupd.c

Ken Smith kensmith at FreeBSD.org
Mon Mar 8 12:31:38 PST 2004


kensmith    2004/03/08 12:31:38 PST

  FreeBSD src repository

  Modified files:
    usr.sbin/pw          edgroup.c fileupd.c 
  Log:
  Shift file locking to source file instead of temp file.  This fixes
  data buffering issue that corrupts files if two pw(8)'s run at the
  same time as well as changing pw(8) so it uses the same locking
  mechanism as PAM, vipw(8), pwd_mkdb(8), etc.
  
  PR:             bin/23501
  Submitted by:   Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su>
  Approved by:    rwatson (mentor)
  MFC after:      5 days
  
  Revision  Changes    Path
  1.9       +3 -4      src/usr.sbin/pw/edgroup.c
  1.10      +3 -5      src/usr.sbin/pw/fileupd.c


More information about the cvs-src mailing list