summaryrefslogtreecommitdiffstats
path: root/adduser
diff options
context:
space:
mode:
authorKen Smith <kensmith@FreeBSD.org>2004-03-08 20:31:37 +0000
committerKen Smith <kensmith@FreeBSD.org>2004-03-08 20:31:37 +0000
commitd922d6bbbb200681fda0a6d37742e400b0d4d587 (patch)
tree8eb7fa07170faf30fb7c8b95b2002e312d6cb611 /adduser
parent6d7976c0088abde23963a3cf0f10900fba6b4e05 (diff)
downloadpw-darwin-d922d6bbbb200681fda0a6d37742e400b0d4d587.tar.gz
pw-darwin-d922d6bbbb200681fda0a6d37742e400b0d4d587.tar.zst
pw-darwin-d922d6bbbb200681fda0a6d37742e400b0d4d587.zip
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
Diffstat (limited to 'adduser')
0 files changed, 0 insertions, 0 deletions