diff options
author | kensmith <kensmith@FreeBSD.org> | 2004-03-08 20:31:37 +0000 |
---|---|---|
committer | kensmith <kensmith@FreeBSD.org> | 2004-03-08 20:31:37 +0000 |
commit | 7d850e036915647286ba968117268c61c4896e3e (patch) | |
tree | 0420a810dee6b94bcc06fa437eddfa0ac14552dc /usr.sbin/mount_nwfs | |
parent | ed1fac1d1e69ddd592d995c02c0d042c199ced61 (diff) | |
download | FreeBSD-src-7d850e036915647286ba968117268c61c4896e3e.zip FreeBSD-src-7d850e036915647286ba968117268c61c4896e3e.tar.gz |
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 'usr.sbin/mount_nwfs')
0 files changed, 0 insertions, 0 deletions