summaryrefslogtreecommitdiffstats
path: root/chpass
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1998-12-13 01:36:45 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1998-12-13 01:36:45 +0000
commitd310991f0b18bc6b9ef554b660ea88170557c76f (patch)
tree6e82f2789dc5a5d7229225a155fc4a54ad237e9a /chpass
parent33ad2c7486da901252c1e70f3f599106573a978b (diff)
downloadpw-darwin-d310991f0b18bc6b9ef554b660ea88170557c76f.tar.gz
pw-darwin-d310991f0b18bc6b9ef554b660ea88170557c76f.zip
Handle the race condition where vipw may lock a password file which has
just been replaced. After our lock succeeds we check if st_nlink is 0 and if it is we close the descriptor and retry our open/lock sequence.
Diffstat (limited to 'chpass')
0 files changed, 0 insertions, 0 deletions