Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 12:31:38 -0800 (PST)
From:      Ken Smith <kensmith@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pw edgroup.c fileupd.c
Message-ID:  <200403082031.i28KVcv8040798@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403082031.i28KVcv8040798>