diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-13 01:36:45 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-13 01:36:45 +0000 |
commit | 99ae894df3a3aa57ec1410174bbf65f764fbd9b5 (patch) | |
tree | 53a55f230731ff83dc38852a9be45279e2744374 /lib/libutil/libutil.h | |
parent | 9bdc2c6395f2a14cb3f64472024d64f663780251 (diff) | |
download | FreeBSD-src-99ae894df3a3aa57ec1410174bbf65f764fbd9b5.zip FreeBSD-src-99ae894df3a3aa57ec1410174bbf65f764fbd9b5.tar.gz |
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 'lib/libutil/libutil.h')
0 files changed, 0 insertions, 0 deletions